Skip to content

Commit 6e44483

Browse files
committed
spelling
1 parent bbf801d commit 6e44483

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/std_misc/file/read_lines.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,12 +32,13 @@ where P: AsRef<Path>, {
3232
}
3333
```
3434

35-
Running this program simply returns the lines individually.
35+
Running this program simply prints the lines individually.
3636
```bash
3737
$ echo -e "127.0.0.1\n192.168.0.1\n" > hosts
3838
$ rustc read_lines.rs && ./read_lines
3939
127.0.0.1
4040
192.168.0.1
4141
```
4242

43-
This process is more efficient that creating a `String` in memory for larger files.
43+
This process is more efficient than creating a `String` in memory
44+
especially working with larger files.

0 commit comments

Comments
 (0)