Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit eb081b1

Browse files
yoshuawuytsskade
andauthored
Apply suggestions from code review
Co-Authored-By: Florian Gilcher <florian.gilcher@ferrous-systems.com>
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

Lines changed: 2 additions & 2 deletions
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)

AltStyle によって変換されたページ (->オリジナル) /