Skip to content

Commit

Permalink
rustdoc: fix comments in test
Browse files Browse the repository at this point in the history
  • Loading branch information
notriddle authored Mar 14, 2023
1 parent 86179c4 commit bfb66eb
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions tests/rustdoc/notable-trait/notable-trait-generics.rs
Original file line number Diff line number Diff line change
@@ -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);

Expand All @@ -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);

Expand Down

0 comments on commit bfb66eb

Please sign in to comment.