We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bdfab20 commit 9b1456eCopy full SHA for 9b1456e
src/libstd/ffi/c_str.rs
@@ -937,7 +937,7 @@ impl CStr {
937
/// This function will wrap the provided `ptr` with a `CStr` wrapper, which
938
/// allows inspection and interoperation of non-owned C strings. The total
939
/// size of the raw C string must be smaller than `isize::MAX` **bytes**
940
- /// in memory due to calling the slice::from_raw_parts function.
+ /// in memory due to calling the `slice::from_raw_parts` function.
941
/// This method is unsafe for a number of reasons:
942
///
943
/// * There is no guarantee to the validity of `ptr`.
0 commit comments