authorgravatar for fsaintjacques@gmail.comFrançois Saint-Jacques <fsaintjacques@gmail.com> 2016-10-21 22:43:08-04:00
committergravatar for fsaintjacques@gmail.comFrançois Saint-Jacques <fsaintjacques@gmail.com> 2016-10-21 22:43:08-04:00
logc2710283b506f203f41169a86749879c5d87b747
tree335fcb31533e603ded64249becbe9b86bf3883dc
parenta098c07aa77a48fe05de3bf2a11884c0dd0cfafb

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.