Skip to content

Commit eb081b1

Browse files
yoshuawuytsskade
andauthored
Apply suggestions from code review
Co-Authored-By: Florian Gilcher <[email protected]>
1 parent 4c4604d commit eb081b1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/stream/mod.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,7 @@
156156
//!
157157
//! # while let Loops and IntoStream
158158
//!
159-
//! Rust's `while let` loop syntax is actually sugar for streams. Here's a basic
159+
//! Rust's `while let` loop syntax is an idiomatic way to iterate over streams. Here's a basic
160160
//! example of `while let`:
161161
//!
162162
//! ```
@@ -191,7 +191,7 @@
191191
//! # Adapters
192192
//!
193193
//! Functions which take an [`Stream`] and return another [`Stream`] are
194-
//! often called 'stream adapters', as they're a form of the 'adapter
194+
//! often called 'stream adapters', as they are a form of the 'adapter
195195
//! pattern'.
196196
//!
197197
//! Common stream adapters include [`map`], [`take`], and [`filter`].

0 commit comments

Comments
 (0)