about summary refs log tree commit diff
diff options
context:
space:
mode:
authorHika Hibariya <hibariya@gmail.com>2015-05-06 09:45:30 +0900
committerHika Hibariya <hibariya@gmail.com>2015-05-06 09:45:30 +0900
commit705f355e534807da5ea48f28dde5f7ad855a4dd7 (patch)
tree02f747a6956b5da980e3902d22a2d78eef7e8e68
parenteae692e375cec222803efb7175c79fedc228eea9 (diff)
downloadrust-705f355e534807da5ea48f28dde5f7ad855a4dd7.tar.gz
rust-705f355e534807da5ea48f28dde5f7ad855a4dd7.zip
Fix indentation in the "Strings" chapter
-rw-r--r--src/doc/trpl/strings.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/doc/trpl/strings.md b/src/doc/trpl/strings.md
index 6ed4c7cb1b3..61a6ec3eb3f 100644
--- a/src/doc/trpl/strings.md
+++ b/src/doc/trpl/strings.md
@@ -73,13 +73,13 @@ individual bytes, or as codepoints:
 let hachiko = "忠犬ハチ公";
 
 for b in hachiko.as_bytes() {
-print!("{}, ", b);
+    print!("{}, ", b);
 }
 
 println!("");
 
 for c in hachiko.chars() {
-print!("{}, ", c);
+    print!("{}, ", c);
 }
 
 println!("");