mirror of
https://github.com/tower-rs/tower.git
synced 2025-10-02 15:25:11 +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)
|
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>
|
fn oneshot(self, req: Request) -> Oneshot<Self, Request>
|
||||||
where
|
where
|
||||||
Self: Sized,
|
Self: Sized,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user