File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -35,10 +35,10 @@ use crate::vec::Vec;
35
35
36
36
/// A UTF-8–encoded, growable string, with allocator support.
37
37
///
38
- /// The documentation for this type is located at [`alloc::string::String`].
38
+ /// The documentation for this type is located at [`alloc::string::String`][crate::string::String] .
39
39
///
40
40
/// This is due to type parameter defaults not affecting inference.
41
- /// Otherwise, [ `alloc::string::String`] would be the canonical location of `String`,
41
+ /// Otherwise, `alloc::string::String` would be the canonical location of `String`,
42
42
/// instead of a type alias.
43
43
#[ cfg_attr( not( test) , lang = "String" ) ]
44
44
#[ stable( feature = "rust1" , since = "1.0.0" ) ]
@@ -48,7 +48,7 @@ pub struct String<#[unstable(feature = "allocator_api", issue = "32838")] A: All
48
48
49
49
/// A possible error value when converting a `String` from a UTF-8 byte vector.
50
50
///
51
- /// This type is the error type for the [`from_utf8_in `] method on [`String`]. It
51
+ /// This type is the error type for the [`from_utf8 `] method on [`String`]. It
52
52
/// is designed in such a way to carefully avoid reallocations: the
53
53
/// [`into_bytes`] method will give back the byte vector that was used in the
54
54
/// conversion attempt.
You can’t perform that action at this time.
0 commit comments