diff options
| author | Daniel Micay <danielmicay@gmail.com> | 2013-08-17 22:47:54 -0400 |
|---|---|---|
| committer | Daniel Micay <danielmicay@gmail.com> | 2013-08-20 22:05:03 -0400 |
| commit | 46fc549fa98d473f925b04e53d08f26c2e15bc2a (patch) | |
| tree | ece6425698c9bf30a637e4cffc5b5a4fb721083b /doc/tutorial.md | |
| parent | 0d72f604b7da4f03e7b30466af6b8b55f16c207b (diff) | |
rm obsolete integer to_str{,_radix} free functions
Diffstat (limited to 'doc/tutorial.md')
| -rw-r--r-- | doc/tutorial.md | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/doc/tutorial.md b/doc/tutorial.md index 1813356a1f3..958c1573761 100644 --- a/doc/tutorial.md +++ b/doc/tutorial.md @@ -555,12 +555,11 @@ while cake_amount > 0 { `loop` denotes an infinite loop, and is the preferred way of writing `while true`: ~~~~ -use std::int; -let mut x = 5; +let mut x = 5u; loop { x += x - 3; if x % 5 == 0 { break; } - println(int::to_str(x)); + println(x.to_str()); } ~~~~ |
