Skip to content

Commit c36de32

Browse files
committed
Fixed arguments in lint string.
1 parent 048bcc2 commit c36de32

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
@@ -3222,7 +3222,7 @@ declare_clippy_lint! {
32223222
///
32233223
/// // If this was intentional, create a new path instead
32243224
/// let new = std::path::Path::new("/sh");
3225-
/// assert_eq!(new std::path::PathBuf::from("/sh"));
3225+
/// assert_eq!(new, std::path::PathBuf::from("/sh"));
32263226
/// ```
32273227
#[clippy::version = "1.70.0"]
32283228
pub PATH_JOIN_CORRECTION,

0 commit comments

Comments
 (0)