Fix indentation in the "Strings" chapter
This commit is contained in:
parent
eae692e375
commit
705f355e53
@ -73,13 +73,13 @@ individual bytes, or as codepoints:
|
|||||||
let hachiko = "忠犬ハチ公";
|
let hachiko = "忠犬ハチ公";
|
||||||
|
|
||||||
for b in hachiko.as_bytes() {
|
for b in hachiko.as_bytes() {
|
||||||
print!("{}, ", b);
|
print!("{}, ", b);
|
||||||
}
|
}
|
||||||
|
|
||||||
println!("");
|
println!("");
|
||||||
|
|
||||||
for c in hachiko.chars() {
|
for c in hachiko.chars() {
|
||||||
print!("{}, ", c);
|
print!("{}, ", c);
|
||||||
}
|
}
|
||||||
|
|
||||||
println!("");
|
println!("");
|
||||||
|
Loading…
x
Reference in New Issue
Block a user