We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7f3bb39 commit 6b95526Copy full SHA for 6b95526
src/libstd/ffi/c_str.rs
@@ -861,7 +861,7 @@ impl TryFrom<Vec<u8>> for CString {
861
/// See the document about [`from_vec_with_nul`] for more
862
/// informations about the behaviour of this method.
863
///
864
- /// [`from_vec_with_nul`]: struct.CString.html#method.from_vec_with_nul
+ /// [`from_vec_with_nul`]: CString::from_vec_with_nul
865
fn try_from(value: Vec<u8>) -> Result<Self, Self::Error> {
866
Self::from_vec_with_nul(value)
867
}
0 commit comments