Skip to content

Commit 3718dac

Browse files
authored
Update functions.md
1 parent 146bfa2 commit 3718dac

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/items/functions.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,7 @@ If a const function is called outside a [const context], it is indistinguishable
150150
from any other function. You can freely do anything with a const function that
151151
you can do with a regular function.
152152

153-
Const functions have various restrictions to makes sure that they can be
153+
Const functions have various restrictions to make sure that they can be
154154
evaluated at compile-time. It is, for example, not possible to write a random
155155
number generator as a const function. Calling a const function at compile-time
156156
will always yield the same result as calling it at runtime, even when called

0 commit comments

Comments
 (0)