Skip to content

Commit 6d425a6

Browse files
phanschflip1995
andauthored
Use correct path in comment
Co-Authored-By: Philipp Krones <[email protected]>
1 parent 9a0b598 commit 6d425a6

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

tests/ui/cmp_owned/with_suggestion.fixed

+1-1
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ struct Foo;
3131
impl PartialEq for Foo {
3232
// Allow this here, because it emits the lint
3333
// without a suggestion. This is tested in
34-
// `tests/ui/cmp_owned_without_suggestion.rs`
34+
// `tests/ui/cmp_owned/without_suggestion.rs`
3535
#[allow(clippy::cmp_owned)]
3636
fn eq(&self, other: &Self) -> bool {
3737
self.to_owned() == *other

tests/ui/cmp_owned/with_suggestion.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ struct Foo;
3131
impl PartialEq for Foo {
3232
// Allow this here, because it emits the lint
3333
// without a suggestion. This is tested in
34-
// `tests/ui/cmp_owned_without_suggestion.rs`
34+
// `tests/ui/cmp_owned/without_suggestion.rs`
3535
#[allow(clippy::cmp_owned)]
3636
fn eq(&self, other: &Self) -> bool {
3737
self.to_owned() == *other

0 commit comments

Comments
 (0)