Skip to content

Commit 123e203

Browse files
committed
add link for string to as_ref docs
1 parent 74e7709 commit 123e203

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

library/core/src/option.rs

+1
Original file line numberDiff line numberDiff line change
@@ -615,6 +615,7 @@ impl<T> Option<T> {
615615
///
616616
/// [`map`]: Option::map
617617
/// [String]: ../../std/string/struct.String.html "String"
618+
/// [`String`]: ../../std/string/struct.String.html "String"
618619
///
619620
/// ```
620621
/// let text: Option<String> = Some("Hello, world!".to_string());

0 commit comments

Comments
 (0)