diff options
author | Jake McGinty <me@jake.su> | 2018-05-06 18:57:52 -0700 |
---|---|---|
committer | Jake McGinty <me@jake.su> | 2018-05-06 18:57:52 -0700 |
commit | f514e9f50c685cf46c7c5055a1eba3e40c165f39 (patch) | |
tree | 57500866abf2e41a7476a03e4e90c176c4f468b6 /src/ratelimiter.rs | |
parent | peer_server: hold on to single local csprng instance for performance (diff) | |
download | wireguard-rs-f514e9f50c685cf46c7c5055a1eba3e40c165f39.tar.xz wireguard-rs-f514e9f50c685cf46c7c5055a1eba3e40c165f39.zip |
global: small aesthetic cleanup
Diffstat (limited to 'src/ratelimiter.rs')
-rw-r--r-- | src/ratelimiter.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ratelimiter.rs b/src/ratelimiter.rs index 26faaa4..299995e 100644 --- a/src/ratelimiter.rs +++ b/src/ratelimiter.rs @@ -25,8 +25,8 @@ struct Entry { } struct RateLimiter { - table: HashMap<IpAddr, Entry>, - rx: mpsc::Receiver<()>, + table : HashMap<IpAddr, Entry>, + rx : mpsc::Receiver<()>, } impl RateLimiter { |