summaryrefslogtreecommitdiffstats
path: root/tokio-timer
diff options
context:
space:
mode:
authorTaiki Endo <te316e89@gmail.com>2019-07-21 02:43:19 +0900
committerCarl Lerche <me@carllerche.com>2019-07-20 10:43:19 -0700
commit9af07ce208059994b32117b248cc544803a13256 (patch)
tree09bebbc116f55efe697a5ee6606c357be7c6f075 /tokio-timer
parent1b2d997863709a3d5cb1e2dc78048d7e6566a17f (diff)
chore: remove redundant field names in struct literals (#1334)
Diffstat (limited to 'tokio-timer')
-rw-r--r--tokio-timer/src/throttle.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/tokio-timer/src/throttle.rs b/tokio-timer/src/throttle.rs
index dae09320..7f554409 100644
--- a/tokio-timer/src/throttle.rs
+++ b/tokio-timer/src/throttle.rs
@@ -27,7 +27,7 @@ impl<T> Throttle<T> {
Self {
delay: Delay::new_timeout(clock::now() + duration, duration),
has_delayed: true,
- stream: stream,
+ stream,
}
}
}