Skip to content

Commit d019fce

Browse files
authored
fix typo (#189)
1 parent ae2cd03 commit d019fce

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/std_misc/file/read_lines.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ use std::io::{self, BufRead};
1010
use std::path::Path;
1111
1212
fn main() {
13-
// 在生成输出之前,文件主机必须存在于当前路径中
13+
// 在生成输出之前,文件 `hosts` 必须存在于当前路径中
1414
if let Ok(lines) = read_lines("./hosts") {
1515
// 使用迭代器,返回一个(可选)字符串
1616
for line in lines {

0 commit comments

Comments
 (0)