File tree Expand file tree Collapse file tree 2 files changed +6
-5
lines changed Expand file tree Collapse file tree 2 files changed +6
-5
lines changed Original file line number Diff line number Diff line change @@ -23,7 +23,7 @@ refs/tags/0.9: 36870b185fc5f5486636d4515f0e22677493f225
23
23
refs/tags/0.10: ac33f2b15782272ae348dbd7b14b8257b2148b5a
24
24
refs/tags/0.11.0: e1247cb1d0d681be034adb4b558b5a0c0d5720f9
25
25
refs/tags/0.12.0: f0c419429ef30723ceaf6b42f9b5a2aeb5d2e2d1
26
- refs/heads/beta: 3a180d15f81d3f9dfcb965c7c89d02b64a90f62e
26
+ refs/heads/beta: 6d5ae6b20dd86de5d65cfcac28664357b6d5d953
27
27
refs/tags/1.0.0-alpha: e42bd6d93a1d3433c486200587f8f9e12590a4d7
28
28
refs/heads/tmp: 938f5d7af401e2d8238522fed4a612943b6e77fd
29
29
refs/tags/1.0.0-alpha.2: 4c705f6bc559886632d3871b04f58aab093bfa2f
Original file line number Diff line number Diff line change 132
132
//!
133
133
//! The standard library exposes 3 common ways to deal with contiguous
134
134
//! regions of memory:
135
- //!
135
+ //!
136
136
//! * [`Vec<T>`](vec/index.html) - A heap-allocated *vector* that is
137
137
//! resizable at runtime.
138
138
//! * [`[T; n]`](primitive.array.html) - An inline *array* with a
147
147
//! * `&[T]` - *shared slice*
148
148
//! * `&mut [T]` - *mutable slice*
149
149
//! * [`Box<[T]>`](boxed/index.html) - *owned slice*
150
- //!
150
+ //!
151
151
//! `str`, a UTF-8 string slice, is a primitive type, and the standard
152
- //! library defines [many methods for it](primitive.str.html). Rust
153
- //! `str`s are immutable; use the owned `String` type defined in
152
+ //! library defines [many methods for it](primitive.str.html). Rust
153
+ //! `str`s are typically accessed as immutable references: `&mut
154
+ //! str`. Use the owned `String` type defined in
154
155
//! [`string`](string/index.html) for building and mutating strings.
155
156
//!
156
157
//! For converting to strings use the [`format!`](fmt/index.html)
You can’t perform that action at this time.
0 commit comments