From 24be08cc8102c2869d7a37907e4de24e555090b5 Mon Sep 17 00:00:00 2001 From: John Vandenberg Date: Sun, 8 Sep 2024 13:43:17 +0800 Subject: [PATCH] chore: Fix typo (#108) --- src/stream.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/stream.rs b/src/stream.rs index 80406de..d13582c 100644 --- a/src/stream.rs +++ b/src/stream.rs @@ -1446,7 +1446,7 @@ pub trait StreamExt: Stream { /// Maps items of the stream to new values using a state value and a closure. /// - /// Scanning begins with the inital state set to `initial_state`, and then applies `f` to the + /// Scanning begins with the initial state set to `initial_state`, and then applies `f` to the /// state and each item in the stream. The stream stops when `f` returns `None`. /// /// # Examples