aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAustin Hellyer <[email protected]>2016-12-04 14:02:55 -0800
committerAustin Hellyer <[email protected]>2016-12-04 14:02:55 -0800
commit6635c09680f262424b307f0e49e32b9f0651ca1c (patch)
tree5ef76e8052ff91b49995da3d861fbfc2bbf9f839 /src
parentFix signature of Context::move_member (diff)
downloadserenity-6635c09680f262424b307f0e49e32b9f0651ca1c.tar.xz
serenity-6635c09680f262424b307f0e49e32b9f0651ca1c.zip
Use proper comments on inline ratelimit comments
Diffstat (limited to 'src')
-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");
}