Skip to content

Commit 9dc0623

Browse files
committed
Resolved nitpicks.
1 parent 5ef1ca1 commit 9dc0623

File tree

1 file changed

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

1 file changed

+4
-4
lines changed

clippy_lints/src/methods/mod.rs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2975,8 +2975,8 @@ declare_clippy_lint! {
29752975
/// # let mut state = DefaultHasher::new();
29762976
/// # let my_enum = Foo::Empty;
29772977
/// match my_enum {
2978-
/// Empty => ().hash(&mut state),
2979-
/// WithValue(x) => x.hash(&mut state),
2978+
/// Empty => ().hash(&mut state),
2979+
/// WithValue(x) => x.hash(&mut state),
29802980
/// }
29812981
/// ```
29822982
/// Use instead:
@@ -3295,8 +3295,8 @@ declare_clippy_lint! {
32953295
/// ```
32963296
#[clippy::version = "1.70.0"]
32973297
pub JOIN_ABSOLUTE_PATHS,
3298-
pedantic,
3299-
"arg to .join called on a Path contains separator at the start"
3298+
correctness,
3299+
"arg to .join called on a Path contains leading separator"
33003300
}
33013301

33023302
declare_clippy_lint! {

0 commit comments

Comments
 (0)