Skip to content

Commit 0bd7839

Browse files
committed
typo
1 parent 7c1aedb commit 0bd7839

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

clippy_lints/src/pathbuf_init_then_push.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,9 +37,9 @@ declare_clippy_lint! {
3737
/// // or
3838
/// let path_buf = PathBuf::new().join("foo");
3939
/// ```
40-
#[clippy::version = "1.78.0"]
40+
#[clippy::version = "1.81.0"]
4141
pub PATHBUF_INIT_THEN_PUSH,
42-
pedantic,
42+
restriction,
4343
"`push` immediately after `PathBuf` creation"
4444
}
4545

0 commit comments

Comments
 (0)