diff --git a/src/c_string.rs b/src/c_string.rs index 4f2c30d9..9247f224 100644 --- a/src/c_string.rs +++ b/src/c_string.rs @@ -236,7 +236,7 @@ impl CString { /// Converts a [`CString`] to a string slice without checking /// that the string contains valid UTF-8. /// - /// See the safe version, [`CString::to_str`], for more information. + /// See the safe version, [`CStr::to_str`], for more information. /// /// # Safety ///