We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
to_string_lossy()
1 parent 3429b5f commit c7c402dCopy full SHA for c7c402d
alloc/src/ffi/c_str.rs
@@ -1116,7 +1116,7 @@ impl CStr {
1116
/// with the corresponding <code>&[str]</code> slice. Otherwise, it will
1117
/// replace any invalid UTF-8 sequences with
1118
/// [`U+FFFD REPLACEMENT CHARACTER`][U+FFFD] and return a
1119
- /// <code>[Cow]::[Owned]\(&[str])</code> with the result.
+ /// <code>[Cow]::[Owned]\([String])</code> with the result.
1120
///
1121
/// [str]: prim@str "str"
1122
/// [Borrowed]: Cow::Borrowed
0 commit comments