Skip to content

Commit

Permalink
Remove unnecessary pub access modifiers
Browse files Browse the repository at this point in the history
  • Loading branch information
frederikrothenberger committed Sep 27, 2024
1 parent 4dae1bf commit 9d3f4d3
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/internet_identity/src/state/temp_keys.rs
Original file line number Diff line number Diff line change
Expand Up @@ -107,17 +107,17 @@ impl TempKeys {
}

#[derive(Clone, Debug, Eq, PartialEq)]
pub struct TempKey {
struct TempKey {
/// The temp key principal
principal: Principal,
/// The expiration timestamp of the temp key
expiration: Timestamp,
}

#[derive(Clone, Debug, Eq, PartialEq)]
pub struct TempKeyExpiration {
struct TempKeyExpiration {
/// Key with which to find the temp key in the `temp_keys` map
pub key: (AnchorNumber, DeviceKey),
key: (AnchorNumber, DeviceKey),
/// The expiration timestamp of the temp key
pub expiration: Timestamp,
expiration: Timestamp,
}

0 comments on commit 9d3f4d3

Please sign in to comment.