From 5da88a38bc3d5873a633f593772481fc99129698 Mon Sep 17 00:00:00 2001 From: Fuwn Date: Sun, 16 Apr 2023 01:03:45 -0700 Subject: fix(macros): tamper with module resolution --- src/macros.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src') 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() }, -- cgit v1.2.3