Skip to content

Commit

Permalink
add link for string to as_ref docs
Browse files Browse the repository at this point in the history
  • Loading branch information
zacklukem committed Nov 27, 2022
1 parent 74e7709 commit 123e203
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions library/core/src/option.rs
Original file line number Diff line number Diff line change
Expand Up @@ -615,6 +615,7 @@ impl<T> Option<T> {
///
/// [`map`]: Option::map
/// [String]: ../../std/string/struct.String.html "String"
/// [`String`]: ../../std/string/struct.String.html "String"
///
/// ```
/// let text: Option<String> = Some("Hello, world!".to_string());
Expand Down

0 comments on commit 123e203

Please sign in to comment.