Skip to content

Commit bc6e080

Browse files
committed
Merge pull request #20735 from squidpickles/master
Spelling fix compatibel -> compatible Reviewed-by: Gankro
2 parents 00b112c + b88ae32 commit bc6e080

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/libstd/ffi/c_str.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ impl CString {
8484
unsafe { CString::from_vec_unchecked(v) }
8585
}
8686

87-
/// Create a C-compatibel string from a byte vector without checking for
87+
/// Create a C-compatible string from a byte vector without checking for
8888
/// interior 0 bytes.
8989
///
9090
/// This method is equivalent to `from_vec` except that no runtime assertion

0 commit comments

Comments
 (0)