Minor doc fix for buffer function (#622)

This commit is contained in:
Sibi Prabakaran 2021-12-24 15:25:07 +05:30 committed by GitHub
parent b20b3cbd57
commit 373a010ff5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -169,7 +169,7 @@ impl<L> ServiceBuilder<L> {
self.layer(crate::layer::layer_fn(f))
}
/// Buffer requests when when the next layer is not ready.
/// Buffer requests when the next layer is not ready.
///
/// This wraps the inner service with an instance of the [`Buffer`]
/// middleware.