about summary refs log tree commit diff
path: root/src/libstd/ffi
diff options
context:
space:
mode:
authorMs2ger <ms2ger@gmail.com>2015-03-25 18:02:11 +0100
committerMs2ger <ms2ger@gmail.com>2015-04-15 13:37:55 +0200
commit9a5a47eddc0df36d2d3321552eed7fbb8b05bb3e (patch)
treebfa1fc532f3978aa48b9029abf9279688fe5ce68 /src/libstd/ffi
parenta691f1eefea586f154700be6ee1b991158f82b7f (diff)
downloadrust-9a5a47eddc0df36d2d3321552eed7fbb8b05bb3e.tar.gz
rust-9a5a47eddc0df36d2d3321552eed7fbb8b05bb3e.zip
Fix some typos.
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 c1c05da4ee4..04513e9d048 100644
--- a/src/libstd/ffi/c_str.rs
+++ b/src/libstd/ffi/c_str.rs
@@ -172,7 +172,7 @@ impl CString {
     ///
     /// This method is equivalent to `new` except that no runtime assertion
     /// is made that `v` contains no 0 bytes, and it requires an actual
-    /// byte vector, not anyhting that can be converted to one with Into.
+    /// byte vector, not anything that can be converted to one with Into.
     #[stable(feature = "rust1", since = "1.0.0")]
     pub unsafe fn from_vec_unchecked(mut v: Vec<u8>) -> CString {
         v.push(0);