From 8834f3f64b389545ff1dddefaabf6ea693033960 Mon Sep 17 00:00:00 2001 From: Dominic Date: Sun, 19 Apr 2020 22:27:34 +0200 Subject: [PATCH] fix import error --- gotham_restful/src/auth.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gotham_restful/src/auth.rs b/gotham_restful/src/auth.rs index 137e9b4..8324622 100644 --- a/gotham_restful/src/auth.rs +++ b/gotham_restful/src/auth.rs @@ -71,7 +71,7 @@ This trait will help the auth middleware to determine the validity of an authent A very basic implementation could look like this: ``` -# use gotham_restful::{export::State, AuthHandler}; +# use gotham_restful::{AuthHandler, State}; # const SECRET : &'static [u8; 32] = b"zlBsA2QXnkmpe0QTh8uCvtAEa4j33YAc";