authorgravatar for andrew@ziglang.orgAndrew Kelley <andrew@ziglang.org> 2016-10-25 02:36:47-04:00
committergravatar for noreply@github.comGitHub <noreply@github.com> 2016-10-25 02:36:47-04:00
logc982077156d362eec8844d2323b1d3b0bd7b2ce3
tree335fcb31533e603ded64249becbe9b86bf3883dc
parenta098c07aa77a48fe05de3bf2a11884c0dd0cfafb
parentc2710283b506f203f41169a86749879c5d87b747

Merge pull request #206 from fsaintjacques/fix/doc-langref

capitalize builtins in doc

1 files changed, 3 insertions(+), 3 deletions(-)

doc/langref.md+3-3
......@@ -370,18 +370,18 @@ TODO
370370Built-in functions are prefixed with `@`. Remember that the `inline` keyword on
371371a parameter means that the parameter must be known at compile time.
372372
373### @typeof(expression) -> type
373### @typeOf(expression) -> type
374374
375375This function returns a compile-time constant, which is the type of the
376376expression passed as an argument. The expression is *not evaluated*.
377377
378### @sizeof(inline T: type) -> (number literal)
378### @sizeOf(inline T: type) -> (number literal)
379379
380380This function returns the number of bytes it takes to store T in memory.
381381
382382The result is a target-specific compile time constant.
383383
384### @alignof(inline T: type) -> (number literal)
384### @alignOf(inline T: type) -> (number literal)
385385
386386This function returns the number of bytes that this type should be aligned to
387387for the current target.