Skip to content

Commit

Permalink
Rollup merge of rust-lang#47340 - alercah:typo-fix, r=GuillaumeGomez
Browse files Browse the repository at this point in the history
Fix typo.
  • Loading branch information
kennytm committed Jan 12, 2018
2 parents 30dbbb5 + 9d9504a commit cf70a48
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/libstd/ffi/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@
//! terminator, so the buffer length is really `len+1` characters.
//! Rust strings don't have a nul terminator; their length is always
//! stored and does not need to be calculated. While in Rust
//! accessing a string's length is a O(1) operation (becasue the
//! accessing a string's length is a O(1) operation (because the
//! length is stored); in C it is an O(length) operation because the
//! length needs to be computed by scanning the string for the nul
//! terminator.
Expand Down

0 comments on commit cf70a48

Please sign in to comment.