From 7ae24d943006c5880486138f9841d1eeb626c8f6 Mon Sep 17 00:00:00 2001 From: Zhang Wen Date: Fri, 26 May 2023 16:48:23 +0800 Subject: [PATCH] fix cargo test error saying get_session is private --- src/user/auth.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/user/auth.rs b/src/user/auth.rs index 4606d7a..9e08e2a 100644 --- a/src/user/auth.rs +++ b/src/user/auth.rs @@ -293,7 +293,7 @@ impl<'a> Auth<'a> { /// This method is useful when the function returns a Result type. /// It is intended to be used primarily /// with the `?` operator. - /// ``` + /// ```ignore /// # fn func(auth: rocket_auth::Auth) -> Result<(), rocket_auth::Error> { /// auth.get_session()?; /// # Ok(())