about summary refs log tree commit diff
diff options
context:
space:
mode:
authorPhilipp Hansch <dev@phansch.net>2019-08-26 15:28:35 +0200
committerGitHub <noreply@github.com>2019-08-26 15:28:35 +0200
commit6d425a60a7e7d272a17449d85d7d590db1b2ce5e (patch)
treefc7037d02e62cfbebcbd19154faa3aff6cdd5738
parent9a0b598b73d93cf38905550dd9bd12e133e900aa (diff)
downloadrust-6d425a60a7e7d272a17449d85d7d590db1b2ce5e.tar.gz
rust-6d425a60a7e7d272a17449d85d7d590db1b2ce5e.zip
Use correct path in comment
Co-Authored-By: Philipp Krones <hello@philkrones.com>
-rw-r--r--tests/ui/cmp_owned/with_suggestion.fixed2
-rw-r--r--tests/ui/cmp_owned/with_suggestion.rs2
2 files changed, 2 insertions, 2 deletions
diff --git a/tests/ui/cmp_owned/with_suggestion.fixed b/tests/ui/cmp_owned/with_suggestion.fixed
index 0323b2905bf..05fb96339e3 100644
--- a/tests/ui/cmp_owned/with_suggestion.fixed
+++ b/tests/ui/cmp_owned/with_suggestion.fixed
@@ -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
diff --git a/tests/ui/cmp_owned/with_suggestion.rs b/tests/ui/cmp_owned/with_suggestion.rs
index ecfdffc8c97..0a02825ed82 100644
--- a/tests/ui/cmp_owned/with_suggestion.rs
+++ b/tests/ui/cmp_owned/with_suggestion.rs
@@ -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