Skip to content

Commit fecd165

Browse files
authored
Update clippy_lints/src/methods/mod.rs
Grammar fix.
1 parent fcdabba commit fecd165

File tree

1 file changed

+1
-1
lines changed
  • clippy_lints/src/methods

1 file changed

+1
-1
lines changed

clippy_lints/src/methods/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1107,7 +1107,7 @@ declare_clippy_lint! {
11071107
///
11081108
/// **Why is this bad?** When people testing a file type with `FileType::is_file`
11091109
/// they are testing whether a path is something they can get bytes from. But
1110-
/// `is_file` doesn't cover special file types in unix-like systems. and not covering
1110+
/// `is_file` doesn't cover special file types in unix-like systems, and doesn't cover
11111111
/// symlink in windows. Using `!FileType::is_dir()` is a better way to that intention.
11121112
///
11131113
/// **Example:**

0 commit comments

Comments
 (0)