Skip to content

Commit

Permalink
fix cargo test error saying get_session is private
Browse files Browse the repository at this point in the history
  • Loading branch information
zhw2101024 committed May 26, 2023
1 parent 333abbe commit 9a8ab75
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/user/auth.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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.
/// ```
/// ```compile_fail
/// # fn func(auth: rocket_auth::Auth) -> Result<(), rocket_auth::Error> {
/// auth.get_session()?;
/// # Ok(())
Expand Down

0 comments on commit 9a8ab75

Please sign in to comment.