diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/macros.rs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/macros.rs b/src/macros.rs index 3d4de2e..0d1e49d 100644 --- a/src/macros.rs +++ b/src/macros.rs @@ -37,15 +37,15 @@ macro_rules! success { ($body:expr, $context:ident) => {{ $crate::route::cache(&$context, &$body); - windmark::Response::success( + ::windmark::Response::success( $crate::macros::Main { body: &$body, hits: &$crate::route::hits_from($context.url.path()), quote: { - use rand::prelude::SliceRandom; + use ::rand::prelude::SliceRandom; &$crate::macros::QUOTES - .choose(&mut rand::thread_rng()) + .choose(&mut ::rand::thread_rng()) .unwrap() .to_string() }, |