Use correct path in comment
Co-Authored-By: Philipp Krones <hello@philkrones.com>
This commit is contained in:
parent
9a0b598b73
commit
6d425a60a7
2 changed files with 2 additions and 2 deletions
|
@ -31,7 +31,7 @@ struct Foo;
|
|||
impl PartialEq for Foo {
|
||||
// Allow this here, because it emits the lint
|
||||
// without a suggestion. This is tested in
|
||||
// `tests/ui/cmp_owned_without_suggestion.rs`
|
||||
// `tests/ui/cmp_owned/without_suggestion.rs`
|
||||
#[allow(clippy::cmp_owned)]
|
||||
fn eq(&self, other: &Self) -> bool {
|
||||
self.to_owned() == *other
|
||||
|
|
|
@ -31,7 +31,7 @@ struct Foo;
|
|||
impl PartialEq for Foo {
|
||||
// Allow this here, because it emits the lint
|
||||
// without a suggestion. This is tested in
|
||||
// `tests/ui/cmp_owned_without_suggestion.rs`
|
||||
// `tests/ui/cmp_owned/without_suggestion.rs`
|
||||
#[allow(clippy::cmp_owned)]
|
||||
fn eq(&self, other: &Self) -> bool {
|
||||
self.to_owned() == *other
|
||||
|
|
Loading…
Add table
Reference in a new issue