mirror of
https://github.com/tower-rs/tower.git
synced 2025-10-01 23:11:03 +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
|
||||
use std::time::Duration;
|
||||
|
||||
struct Timeout<T> {
|
||||
inner: T,
|
||||
struct Timeout<S> {
|
||||
inner: S,
|
||||
timeout: Duration,
|
||||
}
|
||||
```
|
||||
|
Loading…
x
Reference in New Issue
Block a user