File tree Expand file tree Collapse file tree 1 file changed +4
-6
lines changed Expand file tree Collapse file tree 1 file changed +4
-6
lines changed Original file line number Diff line number Diff line change 99/// on the iterator. If the iterator is already fused, the additional [`Fuse`]
1010/// wrapper will be a no-op with no performance penalty.
1111///
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
1514#[ stable( feature = "fused" , since = "1.26.0" ) ]
1615#[ rustc_unsafe_specialization_marker]
1716pub trait FusedIterator : Iterator { }
@@ -35,9 +34,8 @@ impl<I: FusedIterator + ?Sized> FusedIterator for &mut I {}
3534/// This trait must only be implemented when the contract is upheld.
3635/// Consumers of this trait must inspect [`.size_hint`]’s upper bound.
3736///
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
4139#[ unstable( feature = "trusted_len" , issue = "37572" ) ]
4240#[ rustc_unsafe_specialization_marker]
4341pub unsafe trait TrustedLen : Iterator { }
You can’t perform that action at this time.
0 commit comments