Skip to content

Commit

Permalink
fix warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
fairingrey committed Feb 19, 2022
1 parent 291d4d3 commit 782dac7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/server.rs
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ use tower_http::{

use crate::{actions::try_register_oso, handlers};

#[allow(missing_debug_implementations)]
#[derive(Clone)]
pub struct State {
pub oso: Arc<Mutex<Oso>>,
Expand Down
1 change: 1 addition & 0 deletions src/utils/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ pub mod pass;
const KEY_LENGTH: usize = 32;

/// Pair of keys intended for use in redis and cookies
#[derive(Debug)]
pub struct RKeys {
/// Key without prefix
pub base_key: String,
Expand Down

0 comments on commit 782dac7

Please sign in to comment.