From 582a0e0c7440548506902152ff3001a78d9667c5 Mon Sep 17 00:00:00 2001 From: Heiko Seeberger Date: Mon, 24 Oct 2022 18:02:51 +0200 Subject: [PATCH] util: improve ServiceExt::oneshot docs (#704) --- tower/src/util/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tower/src/util/mod.rs b/tower/src/util/mod.rs index 7cdfc5aa..de14c7ed 100644 --- a/tower/src/util/mod.rs +++ b/tower/src/util/mod.rs @@ -81,7 +81,7 @@ pub trait ServiceExt: tower_service::Service { ReadyOneshot::new(self) } - /// Consume this `Service`, calling with the providing request once it is ready. + /// Consume this `Service`, calling it with the provided request once it is ready. fn oneshot(self, req: Request) -> Oneshot where Self: Sized,