Skip to content

Commit c75c4cd

Browse files
committed
fix tidy check
1 parent b14bd74 commit c75c4cd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

library/alloc/src/ffi/c_str.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -352,8 +352,8 @@ impl CString {
352352
/// # Safety
353353
///
354354
/// This should only ever be called with a pointer that was earlier
355-
/// obtained by calling [`CString::into_raw`] and this pointer must not be accessed
356-
/// through any other pointer during the lifetime of reconstructed `CString`.
355+
/// obtained by calling [`CString::into_raw`] and this pointer must not be accessed
356+
/// through any other pointer during the lifetime of reconstructed `CString`.
357357
/// Other usage (e.g., trying to take ownership of a string that was allocated by foreign code)
358358
/// is likely to lead to undefined behavior or allocator corruption.
359359
///

0 commit comments

Comments
 (0)