Skip to content

Commit 9b1456e

Browse files
hman523Centril
andauthored
Update added backticks around a function call
Co-Authored-By: Mazdak Farrokhzad <twingoow@gmail.com>
1 parent bdfab20 commit 9b1456e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/libstd/ffi/c_str.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -937,7 +937,7 @@ impl CStr {
937937
/// This function will wrap the provided `ptr` with a `CStr` wrapper, which
938938
/// allows inspection and interoperation of non-owned C strings. The total
939939
/// 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.
940+
/// in memory due to calling the `slice::from_raw_parts` function.
941941
/// This method is unsafe for a number of reasons:
942942
///
943943
/// * There is no guarantee to the validity of `ptr`.

0 commit comments

Comments
 (0)