about summary refs log tree commit diff
path: root/src/libstd/ffi
diff options
context:
space:
mode:
authorKevin Rauwolf <sweetpea-git@tentacle.net>2015-01-07 21:47:15 -0800
committerKevin Rauwolf <sweetpea-git@tentacle.net>2015-01-07 21:47:15 -0800
commitb88ae323d1297b54a119eed0925aa2a156e8a578 (patch)
treed0c521b6d6d02dee9f172063662b70770d582e72 /src/libstd/ffi
parent9f1ead8fadc56bad30dc74f5cc50d78af4fbc972 (diff)
downloadrust-b88ae323d1297b54a119eed0925aa2a156e8a578.tar.gz
rust-b88ae323d1297b54a119eed0925aa2a156e8a578.zip
Spelling fix compatibel -> compatible
Diffstat (limited to 'src/libstd/ffi')
-rw-r--r--src/libstd/ffi/c_str.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libstd/ffi/c_str.rs b/src/libstd/ffi/c_str.rs
index 70ea366bbf4..d7f8eb2e415 100644
--- a/src/libstd/ffi/c_str.rs
+++ b/src/libstd/ffi/c_str.rs
@@ -84,7 +84,7 @@ impl 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