Fix function reference in documentation

This commit is contained in:
Yota Toyama 2025-04-06 20:06:43 -07:00
parent e32c619838
commit 063393d176

View File

@ -236,7 +236,7 @@ impl<const N: usize> CString<N> {
/// 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
///