We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 00b112c + b88ae32 commit bc6e080Copy full SHA for bc6e080
src/libstd/ffi/c_str.rs
@@ -84,7 +84,7 @@ impl CString {
84
unsafe { CString::from_vec_unchecked(v) }
85
}
86
87
- /// Create a C-compatibel string from a byte vector without checking for
+ /// Create a C-compatible string from a byte vector without checking for
88
/// interior 0 bytes.
89
///
90
/// This method is equivalent to `from_vec` except that no runtime assertion
0 commit comments