util: improve ServiceExt::oneshot docs (#704)

This commit is contained in:
Heiko Seeberger 2022-10-24 18:02:51 +02:00 committed by GitHub
parent c049ded33f
commit 582a0e0c74
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -81,7 +81,7 @@ pub trait ServiceExt<Request>: tower_service::Service<Request> {
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<Self, Request>
where
Self: Sized,