aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/client/rest/ratelimiting.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/client/rest/ratelimiting.rs b/src/client/rest/ratelimiting.rs
index ff5e352..0b3ea7e 100644
--- a/src/client/rest/ratelimiting.rs
+++ b/src/client/rest/ratelimiting.rs
@@ -109,8 +109,8 @@ pub fn perform<'a, F>(route: Route, f: F) -> Result<Response>
loop {
{
- /// This will block if another thread already has the global
- /// unlocked already (due to receiving an x-ratelimit-global).
+ // This will block if another thread already has the global
+ // unlocked already (due to receiving an x-ratelimit-global).
let mut _global = GLOBAL.lock().expect("global route lock poisoned");
}