File tree 1 file changed +2
-5
lines changed
1 file changed +2
-5
lines changed Original file line number Diff line number Diff line change @@ -40,17 +40,14 @@ impl RawWaker {
40
40
/// of the `vtable` as the first parameter.
41
41
///
42
42
/// 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>`
44
44
/// when used to construct a [`Waker`]. This restriction is lifted when
45
45
/// 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>`.
47
47
///
48
48
/// The `vtable` customizes the behavior of a `Waker` which gets created
49
49
/// from a `RawWaker`. For each operation on the `Waker`, the associated
50
50
/// function in the `vtable` of the underlying `RawWaker` will be called.
51
- ///
52
- /// [`Arc`]: std::sync::Arc
53
- /// [`Rc`]: std::rc::Rc
54
51
#[ inline]
55
52
#[ rustc_promotable]
56
53
#[ stable( feature = "futures_api" , since = "1.36.0" ) ]
You can’t perform that action at this time.
0 commit comments