From e3b7fedc20fcfe54e0ddb285fc6e6c6e862b3279 Mon Sep 17 00:00:00 2001 From: Joseph Crail Date: Tue, 6 Jan 2015 20:53:18 -0500 Subject: Fix misspelled comments. I cleaned up comments prior to the 1.0 alpha release. --- src/libstd/ffi/c_str.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/libstd/ffi') diff --git a/src/libstd/ffi/c_str.rs b/src/libstd/ffi/c_str.rs index bef2344d9e8..70ea366bbf4 100644 --- a/src/libstd/ffi/c_str.rs +++ b/src/libstd/ffi/c_str.rs @@ -104,7 +104,7 @@ impl CString { unsafe { mem::transmute(self.as_slice()) } } - /// Equivalend to `as_slice_with_nul` except that the type returned is a + /// Equivalent to `as_slice_with_nul` except that the type returned is a /// `u8` slice instead of a `libc::c_char` slice. pub fn as_bytes_with_nul(&self) -> &[u8] { unsafe { mem::transmute(self.as_slice_with_nul()) } -- cgit 1.4.1-3-g733a5