Skip to content

Commit 78ba8d5

Browse files
authored
Rollup merge of rust-lang#56027 - Xanewok:docs-backtick, r=QuietMisdreavus
docs: Add missing backtick in object_safety.rs docs Closes rust-lang#56019. r? @bjorn3
2 parents db691f1 + 5fc63ce commit 78ba8d5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/librustc/traits/object_safety.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -470,7 +470,7 @@ impl<'a, 'tcx> TyCtxt<'a, 'tcx, 'tcx> {
470470
///
471471
/// for `self: &'a mut Self`, this means `&'a mut Self: DispatchFromDyn<&'a mut U>`
472472
/// for `self: Rc<Self>`, this means `Rc<Self>: DispatchFromDyn<Rc<U>>`
473-
/// for `self: Pin<Box<Self>>, this means `Pin<Box<Self>>: DispatchFromDyn<Pin<Box<U>>>`
473+
/// for `self: Pin<Box<Self>>`, this means `Pin<Box<Self>>: DispatchFromDyn<Pin<Box<U>>>`
474474
//
475475
// FIXME(mikeyhew) when unsized receivers are implemented as part of unsized rvalues, add this
476476
// fallback query: `Receiver: Unsize<Receiver[Self => U]>` to support receivers like

0 commit comments

Comments
 (0)