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 +}