Rollup merge of #47340 - alercah:typo-fix, r=GuillaumeGomez

Fix typo.
This commit is contained in:
kennytm 2018-01-13 02:26:38 +08:00
commit cf70a48ce4
No known key found for this signature in database
GPG Key ID: FEF6C8051D0E013C

View File

@ -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.