Skip to content

Commit ba8a89a

Browse files
committed
Fix doc links.
1 parent 1aeddd2 commit ba8a89a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

library/alloc/src/string/string.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
//! A UTF-8–encoded, growable string, with allocator support.
22
//!
3-
//! This module only exists due to type parameter defaults not affecting inference.
4-
//! Otherwise, [`alloc::string::String`] would be the canonical location of `String`,
3+
//! This module only exists due to type parameter defaults not affecting inference,
4+
//! otherwise, [`alloc::string::String`][crate::string::String] would be the canonical location of `String`,
55
//! instead of a type alias.
66
77
#![unstable(feature = "string_allocator_api", issue = "32838")]

0 commit comments

Comments
 (0)