Update added backticks around a function call

Co-Authored-By: Mazdak Farrokhzad <twingoow@gmail.com>
This commit is contained in:
hman523 2019-09-09 20:09:17 -05:00 committed by GitHub
parent bdfab2049c
commit 9b1456e4c5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -937,7 +937,7 @@ impl CStr {
/// This function will wrap the provided `ptr` with a `CStr` wrapper, which /// This function will wrap the provided `ptr` with a `CStr` wrapper, which
/// allows inspection and interoperation of non-owned C strings. The total /// allows inspection and interoperation of non-owned C strings. The total
/// size of the raw C string must be smaller than `isize::MAX` **bytes** /// 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: /// This method is unsafe for a number of reasons:
/// ///
/// * There is no guarantee to the validity of `ptr`. /// * There is no guarantee to the validity of `ptr`.