Skip to content

Commit cf76256

Browse files
committed
Revert changed paragraph about slice definition.
This reverts part of commit e6c83dd. As requested by @steveklabnik .
1 parent 41d3e1c commit cf76256

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

library/std/src/primitive_docs.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -565,8 +565,8 @@ mod prim_array {}
565565
///
566566
/// *[See also the `std::slice` module](slice/index.html).*
567567
///
568-
/// A slice is any pointer/reference to a block of memory. They are represented
569-
/// as a regular pointer and a length.
568+
/// Slices are a view into a block of memory represented as a pointer and a
569+
/// length.
570570
///
571571
/// ```
572572
/// // slicing a Vec

0 commit comments

Comments
 (0)