Skip to content

Commit bfb66eb

Browse files
authored
rustdoc: fix comments in test
1 parent 86179c4 commit bfb66eb

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

tests/rustdoc/notable-trait/notable-trait-generics.rs

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#![feature(doc_notable_trait)]
22

3-
// Notable traits SHOULD be shown when the `impl` has a generic type and the
4-
// return type has a concrete type.
3+
// Notable traits SHOULD NOT be shown when the `impl` has a concrete type and
4+
// the return type has a generic type.
55
pub mod generic_return {
66
pub struct Wrapper<T>(T);
77

@@ -17,8 +17,8 @@ pub mod generic_return {
1717
}
1818
}
1919

20-
// Notable traits SHOULD NOT be shown when the `impl` has a concrete type and
21-
// the return type has a generic type.
20+
// Notable traits SHOULD be shown when the `impl` has a generic type and the
21+
// return type has a concrete type.
2222
pub mod generic_impl {
2323
pub struct Wrapper<T>(T);
2424

0 commit comments

Comments
 (0)