about summary refs log tree commit diff
path: root/src/libstd
diff options
context:
space:
mode:
authorAndre Bogus <bogusandre@gmail.com>2019-09-23 09:28:31 +0200
committerAndre Bogus <bogusandre@gmail.com>2019-09-27 19:43:56 +0200
commit6ccb7ae6438c0da774d75752cbf7cb68f2a622be (patch)
tree5294bb2ceb010b8cd3ef902b95458060ee52e5ac /src/libstd
parentb6716a1cdd7ad8eab93c9e25e7832a3c0f744d64 (diff)
downloadrust-6ccb7ae6438c0da774d75752cbf7cb68f2a622be.tar.gz
rust-6ccb7ae6438c0da774d75752cbf7cb68f2a622be.zip
Docs: slice elements are equidistant
Diffstat (limited to 'src/libstd')
-rw-r--r--src/libstd/primitive_docs.rs4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/libstd/primitive_docs.rs b/src/libstd/primitive_docs.rs
index 45816ffd229..02f664760c0 100644
--- a/src/libstd/primitive_docs.rs
+++ b/src/libstd/primitive_docs.rs
@@ -566,7 +566,9 @@ mod prim_array { }
 #[doc(alias = "[")]
 #[doc(alias = "]")]
 #[doc(alias = "[]")]
-/// A dynamically-sized view into a contiguous sequence, `[T]`.
+/// A dynamically-sized view into a contiguous sequence, `[T]`. Contiguous here
+/// means that elements are layed out so that every element is the same
+/// distance from its neighbors.
 ///
 /// *[See also the `std::slice` module](slice/index.html).*
 ///