Skip to content

Commit

Permalink
Revert changed paragraph about slice definition.
Browse files Browse the repository at this point in the history
This reverts part of commit e6c83dd.
As requested by @steveklabnik .
  • Loading branch information
LeonMatthes committed Aug 23, 2020
1 parent 41d3e1c commit cf76256
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions library/std/src/primitive_docs.rs
Original file line number Diff line number Diff line change
Expand Up @@ -565,8 +565,8 @@ mod prim_array {}
///
/// *[See also the `std::slice` module](slice/index.html).*
///
/// A slice is any pointer/reference to a block of memory. They are represented
/// as a regular pointer and a length.
/// Slices are a view into a block of memory represented as a pointer and a
/// length.
///
/// ```
/// // slicing a Vec
Expand Down

0 comments on commit cf76256

Please sign in to comment.