mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-22 06:44:35 +00:00
Update added backticks around a function call
Co-Authored-By: Mazdak Farrokhzad <twingoow@gmail.com>
This commit is contained in:
parent
bdfab2049c
commit
9b1456e4c5
@ -937,7 +937,7 @@ impl CStr {
|
||||
/// This function will wrap the provided `ptr` with a `CStr` wrapper, which
|
||||
/// allows inspection and interoperation of non-owned C strings. The total
|
||||
/// size of the raw C string must be smaller than `isize::MAX` **bytes**
|
||||
/// in memory due to calling the slice::from_raw_parts function.
|
||||
/// in memory due to calling the `slice::from_raw_parts` function.
|
||||
/// This method is unsafe for a number of reasons:
|
||||
///
|
||||
/// * There is no guarantee to the validity of `ptr`.
|
||||
|
Loading…
Reference in New Issue
Block a user