diff options
| author | Leon Matthes <leon@matthes.biz> | 2020-08-23 16:02:22 +0200 |
|---|---|---|
| committer | Leon Matthes <leon@matthes.biz> | 2020-08-23 16:02:22 +0200 |
| commit | cf76256b83d7ccbf1d673c4bcb3ad0d1bd904315 (patch) | |
| tree | b80e4766bca287030dfd2ffb0dec59d428a81ea2 | |
| parent | 41d3e1cf738b6bfe1c7f85ad09b2adea9c8744e8 (diff) | |
| download | rust-cf76256b83d7ccbf1d673c4bcb3ad0d1bd904315.tar.gz rust-cf76256b83d7ccbf1d673c4bcb3ad0d1bd904315.zip | |
Revert changed paragraph about slice definition.
This reverts part of commit e6c83dd57b920d2069797736ae0a1c9fe14a97cb. As requested by @steveklabnik .
| -rw-r--r-- | library/std/src/primitive_docs.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/library/std/src/primitive_docs.rs b/library/std/src/primitive_docs.rs index fb62c3c63ca..03eb3dd2fe6 100644 --- a/library/std/src/primitive_docs.rs +++ b/library/std/src/primitive_docs.rs @@ -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 |
