We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 86179c4 commit bfb66ebCopy full SHA for bfb66eb
tests/rustdoc/notable-trait/notable-trait-generics.rs
@@ -1,7 +1,7 @@
1
#![feature(doc_notable_trait)]
2
3
-// Notable traits SHOULD be shown when the `impl` has a generic type and the
4
-// 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.
5
pub mod generic_return {
6
pub struct Wrapper<T>(T);
7
@@ -17,8 +17,8 @@ pub mod generic_return {
17
}
18
19
20
-// Notable traits SHOULD NOT be shown when the `impl` has a concrete type and
21
-// 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.
22
pub mod generic_impl {
23
24
0 commit comments