From c49bce9de60651bf601c56a826c40a12cf9c8f5f Mon Sep 17 00:00:00 2001 From: Leigh Date: Mon, 8 Sep 2025 18:52:47 +0100 Subject: [PATCH] Fix typo in documentation comment for filter_map --- futures/src/subscription.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/futures/src/subscription.rs b/futures/src/subscription.rs index 338b2622..2afaaae9 100644 --- a/futures/src/subscription.rs +++ b/futures/src/subscription.rs @@ -426,7 +426,7 @@ where } } -/// Creatges a [`Subscription`] from a hashable id and a filter function. +/// Creates a [`Subscription`] from a hashable id and a filter function. pub fn filter_map(id: I, f: F) -> Subscription where I: Hash + 'static,