Skip to content

Commit 410ce86

Browse files
committed
Docs: slice elements are equidistant
1 parent b6716a1 commit 410ce86

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/libstd/primitive_docs.rs

+3-1
Original file line numberDiff line numberDiff line change
@@ -566,7 +566,9 @@ mod prim_array { }
566566
#[doc(alias = "[")]
567567
#[doc(alias = "]")]
568568
#[doc(alias = "[]")]
569-
/// A dynamically-sized view into a contiguous sequence, `[T]`.
569+
/// A dynamically-sized view into a contiguous sequence, `[T]`. Contiguous here
570+
/// means that elements are laid out so that every element is the same distance
571+
/// from its neighbors.
570572
///
571573
/// *[See also the `std::slice` module](slice/index.html).*
572574
///

0 commit comments

Comments
 (0)