diff options
| author | Sebastian Martinez <7912302+sebastinez@users.noreply.github.com> | 2019-08-22 16:16:22 -0300 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-08-22 16:16:22 -0300 |
| commit | 03507a1688e4ce5c3bf99973addd75beb1bc9ec0 (patch) | |
| tree | e6b7aab411b586ddb31ce9366f52f004077d7feb /src/libstd | |
| parent | 201e52e5fe73ccf3dd22946b1216ad8d64f8c2ba (diff) | |
| download | rust-03507a1688e4ce5c3bf99973addd75beb1bc9ec0.tar.gz rust-03507a1688e4ce5c3bf99973addd75beb1bc9ec0.zip | |
Update occurences of as_slice
Update occurences of as_slice to as_str
Diffstat (limited to 'src/libstd')
| -rw-r--r-- | src/libstd/primitive_docs.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libstd/primitive_docs.rs b/src/libstd/primitive_docs.rs index d9a3da66a67..45816ffd229 100644 --- a/src/libstd/primitive_docs.rs +++ b/src/libstd/primitive_docs.rs @@ -655,7 +655,7 @@ mod prim_slice { } /// [`len`]: #method.len /// /// Note: This example shows the internals of `&str`. `unsafe` should not be -/// used to get a string slice under normal circumstances. Use `as_slice` +/// used to get a string slice under normal circumstances. Use `as_str` /// instead. #[stable(feature = "rust1", since = "1.0.0")] mod prim_str { } |
