diff options
| author | Joseph Crail <jbcrail@gmail.com> | 2015-01-06 20:53:18 -0500 |
|---|---|---|
| committer | Joseph Crail <jbcrail@gmail.com> | 2015-01-06 20:53:18 -0500 |
| commit | e3b7fedc20fcfe54e0ddb285fc6e6c6e862b3279 (patch) | |
| tree | ca1ece110a6f8dc31f5c30b595687829c08f5e82 /src/libstd/ffi | |
| parent | ea6f65c5f1a3f84e010d2cef02a0160804e9567a (diff) | |
| download | rust-e3b7fedc20fcfe54e0ddb285fc6e6c6e862b3279.tar.gz rust-e3b7fedc20fcfe54e0ddb285fc6e6c6e862b3279.zip | |
Fix misspelled comments.
I cleaned up comments prior to the 1.0 alpha release.
Diffstat (limited to 'src/libstd/ffi')
| -rw-r--r-- | src/libstd/ffi/c_str.rs | 2 |
1 files changed, 1 insertions, 1 deletions
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()) } |
