Skip to content

Commit 9d9504a

Browse files
author
Alexis Hunt
committed
Fix typo.
1 parent f62f774 commit 9d9504a

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)