Skip to content

Commit 19bbd7b

Browse files
committed
typo fix
1 parent 7fdd97b commit 19bbd7b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tower/src/util/boxed/layer_clone_sync.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ use crate::util::BoxCloneSyncService;
1818
/// # Example
1919
///
2020
/// `BoxCloneSyncServiceLayer` can, for example, be useful to create layers dynamically that otherwise wouldn't have
21-
/// the same types, when the underlying service must be clone and sync (for example, when building a Hyper connector)
21+
/// the same types, when the underlying service must be clone and sync (for example, when building a Hyper connector).
2222
/// In this example, we include a [`Timeout`] layer only if an environment variable is set. We can use
2323
/// `BoxCloneSyncServiceLayer` to return a consistent type regardless of runtime configuration:
2424
///
@@ -126,4 +126,4 @@ impl<In, T, U, E> fmt::Debug for BoxCloneSyncServiceLayer<In, T, U, E> {
126126
fn fmt(&self, fmt: &mut fmt::Formatter) -> fmt::Result {
127127
fmt.debug_struct("BoxCloneSyncServiceLayer").finish()
128128
}
129-
}
129+
}

0 commit comments

Comments
 (0)