diff options
| -rw-r--r-- | src/doc/tutorial.md | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/doc/tutorial.md b/src/doc/tutorial.md index 1da3077fa72..21282fea6f6 100644 --- a/src/doc/tutorial.md +++ b/src/doc/tutorial.md @@ -1492,8 +1492,8 @@ Rust uses the unary star operator (`*`) to access the contents of a box or pointer, similarly to C. ~~~ -let owned = ~20; -let borrowed = &30; +let owned = ~10; +let borrowed = &20; let sum = *owned + *borrowed; ~~~ |
