diff options
| author | Michael Howell <michael@notriddle.com> | 2023-03-13 23:03:53 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-03-13 23:03:53 -0700 |
| commit | bfb66eb4bb4ada8a0b4d48d73a93e8f5df0e54be (patch) | |
| tree | 750e7e19f472308e95d18b006ced1074d7761645 | |
| parent | 86179c4549e74acf22fc4da02b64f0bb2ce1f4aa (diff) | |
| download | rust-bfb66eb4bb4ada8a0b4d48d73a93e8f5df0e54be.tar.gz rust-bfb66eb4bb4ada8a0b4d48d73a93e8f5df0e54be.zip | |
rustdoc: fix comments in test
| -rw-r--r-- | tests/rustdoc/notable-trait/notable-trait-generics.rs | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/rustdoc/notable-trait/notable-trait-generics.rs b/tests/rustdoc/notable-trait/notable-trait-generics.rs index 7bfe9d43ea9..611902abad6 100644 --- a/tests/rustdoc/notable-trait/notable-trait-generics.rs +++ b/tests/rustdoc/notable-trait/notable-trait-generics.rs @@ -1,7 +1,7 @@ #![feature(doc_notable_trait)] -// Notable traits SHOULD be shown when the `impl` has a generic type and the -// return type has a concrete type. +// Notable traits SHOULD NOT be shown when the `impl` has a concrete type and +// the return type has a generic type. pub mod generic_return { pub struct Wrapper<T>(T); @@ -17,8 +17,8 @@ pub mod generic_return { } } -// Notable traits SHOULD NOT be shown when the `impl` has a concrete type and -// the return type has a generic type. +// Notable traits SHOULD be shown when the `impl` has a generic type and the +// return type has a concrete type. pub mod generic_impl { pub struct Wrapper<T>(T); |
