diff options
| author | bors <bors@rust-lang.org> | 2019-08-23 12:40:32 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2019-08-23 12:40:32 +0000 |
| commit | 3def0f3d5b2eadf1bd8f182c4fc3b32b2fccd0dc (patch) | |
| tree | d2ca1b95b87773b59a0a370f6085acde37d8ac43 /src/libstd | |
| parent | f834695781d00daa61d04e11720403ff32cb0e78 (diff) | |
| parent | 03507a1688e4ce5c3bf99973addd75beb1bc9ec0 (diff) | |
| download | rust-3def0f3d5b2eadf1bd8f182c4fc3b32b2fccd0dc.tar.gz rust-3def0f3d5b2eadf1bd8f182c4fc3b32b2fccd0dc.zip | |
Auto merge of #63815 - sebastinez:sebastinez-doc-#63792, r=jonas-schievink
Update occurences of as_slice to as_str in comments Fix #63792
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 { } |
