mirror of
https://github.com/tower-rs/tower.git
synced 2025-09-28 21:41:16 +00:00
util: improve ServiceExt::oneshot docs (#704)
This commit is contained in:
parent
c049ded33f
commit
582a0e0c74
@ -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,
|
||||
|
Loading…
x
Reference in New Issue
Block a user