From 19bbd7be947b333cc3bbb97b6746ce7d79dcdbdc Mon Sep 17 00:00:00 2001 From: JESS IZEN Date: Tue, 10 Dec 2024 19:20:02 +0000 Subject: [PATCH] typo fix --- tower/src/util/boxed/layer_clone_sync.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tower/src/util/boxed/layer_clone_sync.rs b/tower/src/util/boxed/layer_clone_sync.rs index 3ee86a839..2356e337c 100644 --- a/tower/src/util/boxed/layer_clone_sync.rs +++ b/tower/src/util/boxed/layer_clone_sync.rs @@ -18,7 +18,7 @@ use crate::util::BoxCloneSyncService; /// # Example /// /// `BoxCloneSyncServiceLayer` can, for example, be useful to create layers dynamically that otherwise wouldn't have -/// the same types, when the underlying service must be clone and sync (for example, when building a Hyper connector) +/// the same types, when the underlying service must be clone and sync (for example, when building a Hyper connector). /// In this example, we include a [`Timeout`] layer only if an environment variable is set. We can use /// `BoxCloneSyncServiceLayer` to return a consistent type regardless of runtime configuration: /// @@ -126,4 +126,4 @@ impl fmt::Debug for BoxCloneSyncServiceLayer { fn fmt(&self, fmt: &mut fmt::Formatter) -> fmt::Result { fmt.debug_struct("BoxCloneSyncServiceLayer").finish() } -} \ No newline at end of file +}