]> git.lizzy.rs Git - rust.git/commitdiff
Spelling fix for "because"
authorCraig M. Brandenburg <c.m.brandenburg@gmail.com>
Sun, 6 Mar 2016 15:37:30 +0000 (08:37 -0700)
committerCraig M. Brandenburg <c.m.brandenburg@gmail.com>
Sun, 6 Mar 2016 15:37:30 +0000 (08:37 -0700)
src/libstd/primitive_docs.rs

index 839287d13217bed2e7a98da483dc56ceba551d59..24e35b87bf2840b2bf08fbadfa6e6d526a7def59 100644 (file)
@@ -370,7 +370,7 @@ mod prim_slice { }
 /// // story has nineteen bytes
 /// assert_eq!(19, len);
 ///
-/// // We can re-build a str out of ptr and len. This is all unsafe becuase
+/// // We can re-build a str out of ptr and len. This is all unsafe because
 /// // we are responsible for making sure the two components are valid:
 /// let s = unsafe {
 ///     // First, we build a &[u8]...