From ff5f4875a040daae4ce6b1d91fe88a9c8dbfbb9f Mon Sep 17 00:00:00 2001 From: "Carol (Nichols || Goulding)" Date: Tue, 1 Oct 2024 17:16:27 -0400 Subject: [PATCH] Remove an extra 'with' --- src/ch17-04-streams.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ch17-04-streams.md b/src/ch17-04-streams.md index b25ecbd0e..dfb001678 100644 --- a/src/ch17-04-streams.md +++ b/src/ch17-04-streams.md @@ -323,7 +323,7 @@ for a `timeout` call. Meanwhile, the `intervals` stream has the type `impl Stream`. To merge these two streams, we need to transform one of them to match the other. -In Listing 17-38, we rework with the `intervals` stream, because `messages` is +In Listing 17-38, we rework the `intervals` stream, because `messages` is already in the basic format we want and has to handle timeout errors. First, we can use the `map` helper method to transform the `intervals` into a string. Second, we need to match the `Timeout` from `messages`. Because we do not