Skip to content

Commit 6b95526

Browse files
committed
Fix the link in the TryFrom impl
1 parent 7f3bb39 commit 6b95526

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/libstd/ffi/c_str.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -861,7 +861,7 @@ impl TryFrom<Vec<u8>> for CString {
861861
/// See the document about [`from_vec_with_nul`] for more
862862
/// informations about the behaviour of this method.
863863
///
864-
/// [`from_vec_with_nul`]: struct.CString.html#method.from_vec_with_nul
864+
/// [`from_vec_with_nul`]: CString::from_vec_with_nul
865865
fn try_from(value: Vec<u8>) -> Result<Self, Self::Error> {
866866
Self::from_vec_with_nul(value)
867867
}

0 commit comments

Comments
 (0)