Skip to content

Commit e5899b0

Browse files
committed
typo fixes
1 parent a7452b1 commit e5899b0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

_posts/2017-10-12-Rust-1.21.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ preview, and you'll hear more about these plans in the future.
106106

107107
Finally, a few documentation improvements. First up, if you visit [the docs
108108
for `std::os`](https://doc.rust-lang.org/stable/std/os/), which contains
109-
operating-system specific functionality, you'll now see more than just `linux`,
109+
operating system specific functionality, you'll now see more than just `linux`,
110110
the platform we build the documentation on. We've long regretted that the hosted
111111
version of the documentation has been Linux-specific; this is a first step towards
112112
rectifying that. This is [specific to the standard
@@ -161,7 +161,7 @@ for i in 0..10 {
161161
```
162162

163163
The correct one to use depends on your situation; in the sample above, the `for` loop
164-
is pretty striaghtforward. But when you're chaining a number of iterators together,
164+
is pretty straightforward. But when you're chaining a number of iterators together,
165165
the `for_each` version is sometimes clearer. Consider this:
166166

167167
```rust

0 commit comments

Comments
 (0)