diff --git a/src/http/ratelimiting.rs b/src/http/ratelimiting.rs index 95123602b7c..95318aeec2e 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); /// } /// ``` ///