diff options
| author | Zachary Mayhew <mayhew.zachary2003@gmail.com> | 2022-11-26 17:30:17 -0800 |
|---|---|---|
| committer | Zachary Mayhew <mayhew.zachary2003@gmail.com> | 2022-11-26 17:30:17 -0800 |
| commit | 123e2038d4cd6b29ff3d30cf766e94b67efcb637 (patch) | |
| tree | 0ae09d3cf996c9aa3deee0329527e469fd5d64b0 /library | |
| parent | 74e7709485c7597ff7446ac9b420153e22f834fc (diff) | |
| download | rust-123e2038d4cd6b29ff3d30cf766e94b67efcb637.tar.gz rust-123e2038d4cd6b29ff3d30cf766e94b67efcb637.zip | |
add link for string to as_ref docs
Diffstat (limited to 'library')
| -rw-r--r-- | library/core/src/option.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/library/core/src/option.rs b/library/core/src/option.rs index 6bfe34390cc..48e6af36ac7 100644 --- a/library/core/src/option.rs +++ b/library/core/src/option.rs @@ -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()); |
