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;
3535
3636/// A UTF-8–encoded, growable string, with allocator support.
3737///
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] .
3939///
4040/// 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`,
4242/// instead of a type alias.
4343#[ cfg_attr( not( test) , lang = "String" ) ]
4444#[ stable( feature = "rust1" , since = "1.0.0" ) ]
@@ -48,7 +48,7 @@ pub struct String<#[unstable(feature = "allocator_api", issue = "32838")] A: All
4848
4949/// A possible error value when converting a `String` from a UTF-8 byte vector.
5050///
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
5252/// is designed in such a way to carefully avoid reallocations: the
5353/// [`into_bytes`] method will give back the byte vector that was used in the
5454/// conversion attempt.
You can’t perform that action at this time.
0 commit comments