Skip to content

Commit 2dc723d

Browse files
committed
made print message similar across two loops
1 parent a3c9afa commit 2dc723d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/doc/book/vectors.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ for i in &v {
141141
}
142142

143143
for i in &v {
144-
println!("This is a reference {}", i);
144+
println!("This is a reference to {}", i);
145145
}
146146
```
147147

0 commit comments

Comments
 (0)