File tree 2 files changed +4
-10
lines changed
2 files changed +4
-10
lines changed Original file line number Diff line number Diff line change @@ -23,7 +23,7 @@ use crate::task::{Context, Poll};
23
23
/// When using a future, you generally won't call `poll` directly, but instead
24
24
/// `.await` the value.
25
25
///
26
- /// [`Waker`]: ../ task/struct. Waker.html
26
+ /// [`Waker`]: crate:: task:: Waker
27
27
#[ doc( spotlight) ]
28
28
#[ must_use = "futures do nothing unless you `.await` or poll them" ]
29
29
#[ stable( feature = "futures_api" , since = "1.36.0" ) ]
@@ -91,11 +91,9 @@ pub trait Future {
91
91
/// (memory corruption, incorrect use of `unsafe` functions, or the like),
92
92
/// regardless of the future's state.
93
93
///
94
- /// [`Poll::Pending`]: ../task/enum.Poll.html#variant.Pending
95
- /// [`Poll::Ready(val)`]: ../task/enum.Poll.html#variant.Ready
96
- /// [`Context`]: ../task/struct.Context.html
97
- /// [`Waker`]: ../task/struct.Waker.html
98
- /// [`Waker::wake`]: ../task/struct.Waker.html#method.wake
94
+ /// [`Poll::Ready(val)`]: Poll::Ready
95
+ /// [`Waker`]: crate::task::Waker
96
+ /// [`Waker::wake`]: crate::task::Waker::wake
99
97
#[ lang = "poll" ]
100
98
#[ stable( feature = "futures_api" , since = "1.36.0" ) ]
101
99
fn poll ( self : Pin < & mut Self > , cx : & mut Context < ' _ > ) -> Poll < Self :: Output > ;
Original file line number Diff line number Diff line change @@ -166,10 +166,6 @@ from_str_float_impl!(f64);
166
166
///
167
167
/// This error is used as the error type for the [`FromStr`] implementation
168
168
/// for [`f32`] and [`f64`].
169
- ///
170
- /// [`FromStr`]: ../str/trait.FromStr.html
171
- /// [`f32`]: ../../std/primitive.f32.html
172
- /// [`f64`]: ../../std/primitive.f64.html
173
169
#[ derive( Debug , Clone , PartialEq , Eq ) ]
174
170
#[ stable( feature = "rust1" , since = "1.0.0" ) ]
175
171
pub struct ParseFloatError {
You can’t perform that action at this time.
0 commit comments