Fix misspelled comments.

This commit is contained in:
Joseph Crail 2014-08-01 19:40:21 -04:00
parent 292caefb26
commit ad06dfe496
22 changed files with 29 additions and 29 deletions

View file

@ -842,7 +842,7 @@ pub mod raw {
/// Create a `String` from a null-terminated *u8 buffer
///
/// This function is unsafe because we dereference memory until we find the NUL character,
/// which is not guaranteed to be present. Additionaly, the slice is not checked to see
/// which is not guaranteed to be present. Additionally, the slice is not checked to see
/// whether it contains valid UTF-8
pub unsafe fn from_buf(buf: *const u8) -> String {
let mut len = 0;