Skip to content

Commit 3a87b5a

Browse files
authored
Rollup merge of rust-lang#47340 - alercah:typo-fix, r=GuillaumeGomez
Fix typo.
2 parents 0e83b70 + 9d9504a commit 3a87b5a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/libstd/ffi/mod.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@
5353
//! terminator, so the buffer length is really `len+1` characters.
5454
//! Rust strings don't have a nul terminator; their length is always
5555
//! stored and does not need to be calculated. While in Rust
56-
//! accessing a string's length is a O(1) operation (becasue the
56+
//! accessing a string's length is a O(1) operation (because the
5757
//! length is stored); in C it is an O(length) operation because the
5858
//! length needs to be computed by scanning the string for the nul
5959
//! terminator.

0 commit comments

Comments
 (0)