diff options
| author | Richo Healey <richo@psych0tik.net> | 2014-05-25 03:17:19 -0700 |
|---|---|---|
| committer | Richo Healey <richo@psych0tik.net> | 2014-05-27 12:59:31 -0700 |
| commit | 1f1b2e42d76ba1cd884adc49922636a6c2ac1b2f (patch) | |
| tree | 2a56d5ceda84c1a58796fe0fc4e7cea38a9336f6 /src/doc/tutorial.md | |
| parent | 4348e23b269739657d934b532ad061bfd6d92309 (diff) | |
| download | rust-1f1b2e42d76ba1cd884adc49922636a6c2ac1b2f.tar.gz rust-1f1b2e42d76ba1cd884adc49922636a6c2ac1b2f.zip | |
std: Rename strbuf operations to string
[breaking-change]
Diffstat (limited to 'src/doc/tutorial.md')
| -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 4b15e82ea3b..fd51d3dac74 100644 --- a/src/doc/tutorial.md +++ b/src/doc/tutorial.md @@ -2236,7 +2236,7 @@ impl Printable for String { } # 1.print(); -# ("foo".to_strbuf()).print(); +# ("foo".to_string()).print(); ~~~~ Methods defined in an impl for a trait may be called just like @@ -2286,7 +2286,7 @@ impl Printable for bool {} impl Printable for f32 {} # 1.print(); -# ("foo".to_strbuf()).print(); +# ("foo".to_string()).print(); # true.print(); # 3.14159.print(); ~~~~ |
