mirror of
https://github.com/tower-rs/tower.git
synced 2025-10-02 15:25:11 +00:00
Updating generic to be consistent (#710)
This commit is contained in:
parent
787f5dd81b
commit
387d2844b7
@ -25,8 +25,8 @@ and the duration of the timeout:
|
|||||||
```rust
|
```rust
|
||||||
use std::time::Duration;
|
use std::time::Duration;
|
||||||
|
|
||||||
struct Timeout<T> {
|
struct Timeout<S> {
|
||||||
inner: T,
|
inner: S,
|
||||||
timeout: Duration,
|
timeout: Duration,
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
Loading…
x
Reference in New Issue
Block a user