mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-16 21:15:18 +03:00
Merge pull request #20735 from squidpickles/master
Spelling fix compatibel -> compatible Reviewed-by: Gankro
This commit is contained in:
@@ -84,7 +84,7 @@ pub fn from_vec(v: Vec<u8>) -> CString {
|
||||
unsafe { CString::from_vec_unchecked(v) }
|
||||
}
|
||||
|
||||
/// Create a C-compatibel string from a byte vector without checking for
|
||||
/// Create a C-compatible string from a byte vector without checking for
|
||||
/// interior 0 bytes.
|
||||
///
|
||||
/// This method is equivalent to `from_vec` except that no runtime assertion
|
||||
|
||||
Reference in New Issue
Block a user