Skip to content

Commit

Permalink
Make doc-test pass with the new rustdoc
Browse files Browse the repository at this point in the history
  • Loading branch information
poliorcetics committed Dec 23, 2020
1 parent 0e0ae47 commit 619c200
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions compiler/rustc_trait_selection/src/opaque_types.rs
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ pub struct OpaqueTypeDecl<'tcx> {
/// type Foo = impl Baz;
/// fn bar() -> Foo {
/// // ^^^ This is the span we are looking for!
/// }
/// ```
///
/// In cases where the fn returns `(impl Trait, impl Trait)` or
Expand Down

0 comments on commit 619c200

Please sign in to comment.