diff options
Diffstat (limited to 'doc/tutorial.md')
| -rw-r--r-- | doc/tutorial.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/tutorial.md b/doc/tutorial.md index 4849a37231b..66f3070de6c 100644 --- a/doc/tutorial.md +++ b/doc/tutorial.md @@ -1551,7 +1551,7 @@ programs that just can't be typed. ~~~~ let n = option::none; -# option::may(n, fn&(&&x:int) {}) +# option::with_option_do(n, fn&(&&x:int) {}) ~~~~ If you never do anything else with `n`, the compiler will not be able |
