Skip to content

Commit 41c4330

Browse files
committed
Make doc-test pass with the new rustdoc
1 parent 0e0ae47 commit 41c4330

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

compiler/rustc_trait_selection/src/opaque_types.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,7 @@ pub struct OpaqueTypeDecl<'tcx> {
4646
/// type Foo = impl Baz;
4747
/// fn bar() -> Foo {
4848
/// // ^^^ This is the span we are looking for!
49+
/// # }
4950
/// ```
5051
///
5152
/// In cases where the fn returns `(impl Trait, impl Trait)` or

0 commit comments

Comments
 (0)