Slice docs: fix typo

This commit is contained in:
Andre Bogus 2019-09-28 21:02:51 +02:00
parent 18f00b9496
commit e77dfa27ca

View File

@ -567,7 +567,7 @@ mod prim_array { }
#[doc(alias = "]")]
#[doc(alias = "[]")]
/// A dynamically-sized view into a contiguous sequence, `[T]`. Contiguous here
/// means that elements are layed out so that every element is the same
/// means that elements are laid out so that every element is the same
/// distance from its neighbors.
///
/// *[See also the `std::slice` module](slice/index.html).*