File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -329,7 +329,7 @@ impl FromVecWithNulError {
329329/// [`CString::into_string`] performs UTF-8 validation on those bytes and may
330330/// return this error.
331331///
332- /// This `struct` is created by the [`CString::into_string`] method . See
332+ /// This `struct` is created by [`CString::into_string()`] . See
333333/// its documentation for more.
334334#[ derive( Clone , PartialEq , Eq , Debug ) ]
335335#[ stable( feature = "cstring_into" , since = "1.7.0" ) ]
@@ -566,7 +566,7 @@ impl CString {
566566 vec
567567 }
568568
569- /// Equivalent to the [`CString::into_bytes`] function except that the
569+ /// Equivalent to [`CString::into_bytes()`] except that the
570570 /// returned vector includes the trailing nul terminator.
571571 ///
572572 /// # Examples
@@ -605,7 +605,7 @@ impl CString {
605605 & self . inner [ ..self . inner . len ( ) - 1 ]
606606 }
607607
608- /// Equivalent to the [`CString::as_bytes`] function except that the
608+ /// Equivalent to [`CString::as_bytes()`] except that the
609609 /// returned slice includes the trailing nul terminator.
610610 ///
611611 /// # Examples
You can’t perform that action at this time.
0 commit comments