File tree 1 file changed +4
-6
lines changed
1 file changed +4
-6
lines changed Original file line number Diff line number Diff line change 9
9
/// on the iterator. If the iterator is already fused, the additional [`Fuse`]
10
10
/// wrapper will be a no-op with no performance penalty.
11
11
///
12
- /// [`None`]: ../../std/option/enum.Option.html#variant.None
13
- /// [`Iterator::fuse`]: ../../std/iter/trait.Iterator.html#method.fuse
14
- /// [`Fuse`]: ../../std/iter/struct.Fuse.html
12
+ /// [`Iterator::fuse`]: crate::iter::Iterator::fuse
13
+ /// [`Fuse`]: crate::iter::Fuse
15
14
#[ stable( feature = "fused" , since = "1.26.0" ) ]
16
15
#[ rustc_unsafe_specialization_marker]
17
16
pub trait FusedIterator : Iterator { }
@@ -35,9 +34,8 @@ impl<I: FusedIterator + ?Sized> FusedIterator for &mut I {}
35
34
/// This trait must only be implemented when the contract is upheld.
36
35
/// Consumers of this trait must inspect [`.size_hint`]’s upper bound.
37
36
///
38
- /// [`None`]: ../../std/option/enum.Option.html#variant.None
39
- /// [`usize::MAX`]: ../../std/usize/constant.MAX.html
40
- /// [`.size_hint`]: ../../std/iter/trait.Iterator.html#method.size_hint
37
+ /// [`usize::MAX`]: crate::usize::MAX
38
+ /// [`.size_hint`]: crate::iter::Iterator::size_hint
41
39
#[ unstable( feature = "trusted_len" , issue = "37572" ) ]
42
40
#[ rustc_unsafe_specialization_marker]
43
41
pub unsafe trait TrustedLen : Iterator { }
You can’t perform that action at this time.
0 commit comments