File tree 1 file changed +3
-3
lines changed
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -329,7 +329,7 @@ impl FromVecWithNulError {
329
329
/// [`CString::into_string`] performs UTF-8 validation on those bytes and may
330
330
/// return this error.
331
331
///
332
- /// This `struct` is created by the [`CString::into_string`] method . See
332
+ /// This `struct` is created by [`CString::into_string()`] . See
333
333
/// its documentation for more.
334
334
#[ derive( Clone , PartialEq , Eq , Debug ) ]
335
335
#[ stable( feature = "cstring_into" , since = "1.7.0" ) ]
@@ -566,7 +566,7 @@ impl CString {
566
566
vec
567
567
}
568
568
569
- /// Equivalent to the [`CString::into_bytes`] function except that the
569
+ /// Equivalent to [`CString::into_bytes()`] except that the
570
570
/// returned vector includes the trailing nul terminator.
571
571
///
572
572
/// # Examples
@@ -605,7 +605,7 @@ impl CString {
605
605
& self . inner [ ..self . inner . len ( ) - 1 ]
606
606
}
607
607
608
- /// Equivalent to the [`CString::as_bytes`] function except that the
608
+ /// Equivalent to [`CString::as_bytes()`] except that the
609
609
/// returned slice includes the trailing nul terminator.
610
610
///
611
611
/// # Examples
You can’t perform that action at this time.
0 commit comments