Skip to content

Commit d267e77

Browse files
committed
Typos in tutorial
1 parent b3cad86 commit d267e77

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

doc/tutorial.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1541,7 +1541,7 @@ if favorite_crayon_name.len() > 5 {
15411541
# Closures
15421542

15431543
Named functions, like those we've seen so far, may not refer to local
1544-
variables decalared outside the function - they do not "close over
1544+
variables declared outside the function - they do not "close over
15451545
their environment". For example you couldn't write the following:
15461546

15471547
~~~~ {.ignore}
@@ -1898,7 +1898,7 @@ gets access to them.
18981898

18991899
## Safe references
19001900

1901-
*This system has recently changed. An explanantion is forthcoming.*
1901+
*This system has recently changed. An explanation is forthcoming.*
19021902

19031903
## Other uses of safe references
19041904

0 commit comments

Comments
 (0)