File tree Expand file tree Collapse file tree 1 file changed +2
-5
lines changed
Expand file tree Collapse file tree 1 file changed +2
-5
lines changed Original file line number Diff line number Diff line change @@ -40,17 +40,14 @@ impl RawWaker {
4040 /// of the `vtable` as the first parameter.
4141 ///
4242 /// It is important to consider that the `data` pointer must point to a
43- /// thread safe type such as an `[ Arc] <T: Send + Sync>`
43+ /// thread safe type such as an `Arc<T: Send + Sync>`
4444 /// when used to construct a [`Waker`]. This restriction is lifted when
4545 /// constructing a [`LocalWaker`], which allows using types that do not implement
46- /// <code>[Send] + [Sync]</code> like `[Rc] <T>`.
46+ /// <code>[Send] + [Sync]</code> like `Rc <T>`.
4747 ///
4848 /// The `vtable` customizes the behavior of a `Waker` which gets created
4949 /// from a `RawWaker`. For each operation on the `Waker`, the associated
5050 /// function in the `vtable` of the underlying `RawWaker` will be called.
51- ///
52- /// [`Arc`]: std::sync::Arc
53- /// [`Rc`]: std::rc::Rc
5451 #[ inline]
5552 #[ rustc_promotable]
5653 #[ stable( feature = "futures_api" , since = "1.36.0" ) ]
You can’t perform that action at this time.
0 commit comments