@@ -3196,7 +3196,7 @@ declare_clippy_lint! {
3196
3196
}
3197
3197
3198
3198
declare_clippy_lint ! {
3199
- <<<<<<< HEAD
3199
+ /// ### What it does
3200
3200
/// Checks for initial `'/'` in an argument to `.join()` on a `Path`.
3201
3201
///
3202
3202
/// ### Why is this bad?
@@ -3208,11 +3208,11 @@ declare_clippy_lint! {
3208
3208
/// ### Example
3209
3209
/// ```rust
3210
3210
/// let path = std::path::Path::new("/bin");
3211
- /// let res = path.join("/sh");
3211
+ /// let res = path.join("/sh");
3212
3212
/// assert_eq!(res, PathBuf::from("/sh"));
3213
3213
/// ```
3214
3214
///
3215
- /// Use instead:
3215
+ /// Use instead;
3216
3216
/// ```rust
3217
3217
/// let path = std::path::Path::new("/bin");
3218
3218
///
@@ -3227,8 +3227,10 @@ declare_clippy_lint! {
3227
3227
#[ clippy:: version = "1.70.0" ]
3228
3228
pub PATH_JOIN_CORRECTION ,
3229
3229
pedantic,
3230
- "arg to .join called on a Path contains '/' at the start"
3231
- =======
3230
+ "arg to .join called on a Path contains '/' at the start"
3231
+ }
3232
+
3233
+ declare_clippy_lint ! {
3232
3234
/// ### What it does
3233
3235
/// Checks for `.rev().next()` on a `DoubleEndedIterator`
3234
3236
///
@@ -3249,7 +3251,6 @@ declare_clippy_lint! {
3249
3251
pub MANUAL_NEXT_BACK ,
3250
3252
style,
3251
3253
"manual reverse iteration of `DoubleEndedIterator`"
3252
- >>>>>>> upstream/master
3253
3254
}
3254
3255
3255
3256
pub struct Methods {
@@ -3380,11 +3381,8 @@ impl_lint_pass!(Methods => [
3380
3381
NEEDLESS_COLLECT ,
3381
3382
SUSPICIOUS_COMMAND_ARG_SPACE ,
3382
3383
CLEAR_WITH_DRAIN ,
3383
- <<<<<<< HEAD
3384
3384
PATH_JOIN_CORRECTION ,
3385
- =======
3386
3385
MANUAL_NEXT_BACK ,
3387
- >>>>>>> upstream/master
3388
3386
] ) ;
3389
3387
3390
3388
/// Extracts a method call name, args, and `Span` of the method name.
0 commit comments