aboutsummaryrefslogtreecommitdiff
path: root/src/http
diff options
context:
space:
mode:
Diffstat (limited to 'src/http')
-rw-r--r--src/http/ratelimiting.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/http/ratelimiting.rs b/src/http/ratelimiting.rs
index 9512360..95318ae 100644
--- a/src/http/ratelimiting.rs
+++ b/src/http/ratelimiting.rs
@@ -83,7 +83,7 @@ lazy_static! {
/// let routes = ROUTES.lock().unwrap();
///
/// if let Some(route) = routes.get(&Route::ChannelsId(7)) {
- /// println!("Reset time at: {}", route.reset);
+ /// println!("Reset time at: {}", route.lock().unwrap().reset);
/// }
/// ```
///