@@ -140,7 +140,7 @@ implemented by executing an illegal instruction.
140140## Const functions
141141
142142Functions qualified with the ` const ` keyword are const functions. _ Const
143- functions_ can be called from within [ const contexts ] . When called from a const
143+ functions_ can be called from within [ const context ] s . When called from a const
144144context, the function is interpreted by the compiler at compile time. The
145145interpretation happens in the environment of the compilation target and not the
146146host. So ` usize ` is ` 32 ` bits if you are compiling against a ` 32 ` bit system,
@@ -150,7 +150,7 @@ If a const function is called outside a [const context], it is indistinguishable
150150from any other function. You can freely do anything with a const function that
151151you can do with a regular function.
152152
153- Const functions have various restrictions to make sure that they can't be
153+ Const functions have various restrictions to make sure that they can be
154154evaluated at compile-time. It is, for example, not possible to write a random
155155number generator as a const function. Calling a const function at compile-time
156156will always yield the same result as calling it at runtime, even when called
@@ -222,7 +222,7 @@ attributes macros.
222222[ _Statement_ ] : statements.html
223223[ _Type_ ] : types.html#type-expressions
224224[ _WhereClause_ ] : items/generics.html#where-clauses
225- [ const contexts ] : const_eval.html
225+ [ const context ] : const_eval.html#const-context
226226[ external blocks ] : items/external-blocks.html
227227[ path ] : paths.html
228228[ block ] : expressions/block-expr.html
0 commit comments