Move to doc links inside the prelude
This commit is contained in:
parent
1275cc15d6
commit
a6e492b5db
@ -17,7 +17,7 @@
|
|||||||
//! such as [`std::io::prelude`]. Various libraries in the Rust ecosystem may
|
//! such as [`std::io::prelude`]. Various libraries in the Rust ecosystem may
|
||||||
//! also define their own preludes.
|
//! also define their own preludes.
|
||||||
//!
|
//!
|
||||||
//! [`std::io::prelude`]: ../io/prelude/index.html
|
//! [`std::io::prelude`]: crate::io::prelude
|
||||||
//!
|
//!
|
||||||
//! The difference between 'the prelude' and these other preludes is that they
|
//! The difference between 'the prelude' and these other preludes is that they
|
||||||
//! are not automatically `use`'d, and must be imported manually. This is still
|
//! are not automatically `use`'d, and must be imported manually. This is still
|
||||||
@ -49,67 +49,34 @@
|
|||||||
//! * [`std::iter`]::{[`Iterator`], [`Extend`], [`IntoIterator`],
|
//! * [`std::iter`]::{[`Iterator`], [`Extend`], [`IntoIterator`],
|
||||||
//! [`DoubleEndedIterator`], [`ExactSizeIterator`]}. Iterators of various
|
//! [`DoubleEndedIterator`], [`ExactSizeIterator`]}. Iterators of various
|
||||||
//! kinds.
|
//! kinds.
|
||||||
//! * [`std::option`]::[`Option`]::{`self`, `Some`, `None`}. A type which
|
//! * [`std::option`]::[`Option`]::{[`self`][`Option`], [`Some`], [`None`]}. A
|
||||||
//! expresses the presence or absence of a value. This type is so commonly
|
//! type which expresses the presence or absence of a value. This type is so
|
||||||
//! used, its variants are also exported.
|
//! commonly used, its variants are also exported.
|
||||||
//! * [`std::result`]::[`Result`]::{`self`, `Ok`, `Err`}. A type for functions
|
//! * [`std::result`]::[`Result`]::{[`self`][`Result`], [`Ok`], [`Err`]}. A type
|
||||||
//! that may succeed or fail. Like [`Option`], its variants are exported as
|
//! for functions that may succeed or fail. Like [`Option`], its variants are
|
||||||
//! well.
|
//! exported as well.
|
||||||
//! * [`std::string`]::{[`String`], [`ToString`]}, heap allocated strings.
|
//! * [`std::string`]::{[`String`], [`ToString`]}, heap allocated strings.
|
||||||
//! * [`std::vec`]::[`Vec`](../vec/struct.Vec.html), a growable, heap-allocated
|
//! * [`std::vec`]::[`Vec`], a growable, heap-allocated
|
||||||
//! vector.
|
//! vector.
|
||||||
//!
|
//!
|
||||||
//! [`AsMut`]: ../convert/trait.AsMut.html
|
//! [`mem::drop`]: crate::mem::drop
|
||||||
//! [`AsRef`]: ../convert/trait.AsRef.html
|
//! [`std::borrow`]: crate::borrow
|
||||||
//! [`Box`]: ../boxed/struct.Box.html
|
//! [`std::boxed`]: crate::boxed
|
||||||
//! [`Clone`]: ../clone/trait.Clone.html
|
//! [`std::clone`]: crate::clone
|
||||||
//! [`Copy`]: ../marker/trait.Copy.html
|
//! [`std::cmp`]: crate::cmp
|
||||||
//! [`Default`]: ../default/trait.Default.html
|
//! [`std::convert`]: crate::convert
|
||||||
//! [`DoubleEndedIterator`]: ../iter/trait.DoubleEndedIterator.html
|
//! [`std::default`]: crate::default
|
||||||
//! [`Drop`]: ../ops/trait.Drop.html
|
//! [`std::iter`]: crate::iter
|
||||||
//! [`Eq`]: ../cmp/trait.Eq.html
|
//! [`std::marker`]: crate::marker
|
||||||
//! [`ExactSizeIterator`]: ../iter/trait.ExactSizeIterator.html
|
//! [`std::mem`]: crate::mem
|
||||||
//! [`Extend`]: ../iter/trait.Extend.html
|
//! [`std::ops`]: crate::ops
|
||||||
//! [`FnMut`]: ../ops/trait.FnMut.html
|
//! [`std::option`]: crate::option
|
||||||
//! [`FnOnce`]: ../ops/trait.FnOnce.html
|
//! [`std::prelude::v1`]: v1
|
||||||
//! [`Fn`]: ../ops/trait.Fn.html
|
//! [`std::result`]: crate::result
|
||||||
//! [`From`]: ../convert/trait.From.html
|
//! [`std::slice`]: crate::slice
|
||||||
//! [`IntoIterator`]: ../iter/trait.IntoIterator.html
|
//! [`std::string`]: crate::string
|
||||||
//! [`Into`]: ../convert/trait.Into.html
|
//! [`std::vec`]: module@crate::vec
|
||||||
//! [`Iterator`]: ../iter/trait.Iterator.html
|
//! [`to_owned`]: crate::borrow::ToOwned::to_owned
|
||||||
//! [`Option`]: ../option/enum.Option.html
|
|
||||||
//! [`Ord`]: ../cmp/trait.Ord.html
|
|
||||||
//! [`PartialEq`]: ../cmp/trait.PartialEq.html
|
|
||||||
//! [`PartialOrd`]: ../cmp/trait.PartialOrd.html
|
|
||||||
//! [`Result`]: ../result/enum.Result.html
|
|
||||||
//! [`Send`]: ../marker/trait.Send.html
|
|
||||||
//! [`Sized`]: ../marker/trait.Sized.html
|
|
||||||
//! [`SliceConcatExt`]: ../slice/trait.SliceConcatExt.html
|
|
||||||
//! [`String`]: ../string/struct.String.html
|
|
||||||
//! [`Sync`]: ../marker/trait.Sync.html
|
|
||||||
//! [`ToOwned`]: ../borrow/trait.ToOwned.html
|
|
||||||
//! [`ToString`]: ../string/trait.ToString.html
|
|
||||||
//! [`Unpin`]: ../marker/trait.Unpin.html
|
|
||||||
//! [`Vec`]: ../vec/struct.Vec.html
|
|
||||||
//! [`Clone::clone`]: ../clone/trait.Clone.html#tymethod.clone
|
|
||||||
//! [`mem::drop`]: ../mem/fn.drop.html
|
|
||||||
//! [`std::borrow`]: ../borrow/index.html
|
|
||||||
//! [`std::boxed`]: ../boxed/index.html
|
|
||||||
//! [`std::clone`]: ../clone/index.html
|
|
||||||
//! [`std::cmp`]: ../cmp/index.html
|
|
||||||
//! [`std::convert`]: ../convert/index.html
|
|
||||||
//! [`std::default`]: ../default/index.html
|
|
||||||
//! [`std::iter`]: ../iter/index.html
|
|
||||||
//! [`std::marker`]: ../marker/index.html
|
|
||||||
//! [`std::mem`]: ../mem/index.html
|
|
||||||
//! [`std::ops`]: ../ops/index.html
|
|
||||||
//! [`std::option`]: ../option/index.html
|
|
||||||
//! [`std::prelude::v1`]: v1/index.html
|
|
||||||
//! [`std::result`]: ../result/index.html
|
|
||||||
//! [`std::slice`]: ../slice/index.html
|
|
||||||
//! [`std::string`]: ../string/index.html
|
|
||||||
//! [`std::vec`]: ../vec/index.html
|
|
||||||
//! [`to_owned`]: ../borrow/trait.ToOwned.html#tymethod.to_owned
|
|
||||||
//! [book-closures]: ../../book/ch13-01-closures.html
|
//! [book-closures]: ../../book/ch13-01-closures.html
|
||||||
//! [book-dtor]: ../../book/ch15-03-drop.html
|
//! [book-dtor]: ../../book/ch15-03-drop.html
|
||||||
//! [book-enums]: ../../book/ch06-01-defining-an-enum.html
|
//! [book-enums]: ../../book/ch06-01-defining-an-enum.html
|
||||||
|
Loading…
Reference in New Issue
Block a user