We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bbf801d commit 6e44483Copy full SHA for 6e44483
src/std_misc/file/read_lines.md
@@ -32,12 +32,13 @@ where P: AsRef<Path>, {
32
}
33
```
34
35
-Running this program simply returns the lines individually.
+Running this program simply prints the lines individually.
36
```bash
37
$ echo -e "127.0.0.1\n192.168.0.1\n" > hosts
38
$ rustc read_lines.rs && ./read_lines
39
127.0.0.1
40
192.168.0.1
41
42
43
-This process is more efficient that creating a `String` in memory for larger files.
+This process is more efficient than creating a `String` in memory
44
+especially working with larger files.
0 commit comments