Skip to content

Commit fcdabba

Browse files
xiongmao86flip1995
andauthored
Update clippy_lints/src/methods/mod.rs
Change category. Co-Authored-By: Philipp Krones <[email protected]>
1 parent 68414db commit fcdabba

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
@@ -1132,7 +1132,7 @@ declare_clippy_lint! {
11321132
/// }
11331133
/// ```
11341134
pub FILETYPE_IS_FILE,
1135-
style,
1135+
restriction,
11361136
"`FileType::is_file` is not recommended to test for readable file type"
11371137
}
11381138

0 commit comments

Comments
 (0)