Skip to content

Commit

Permalink
Fix clippy + formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
smrtrfszm committed Dec 8, 2024
1 parent 4633ca3 commit 558d2d5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion iam-common/id.rs
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ impl<'de> Deserialize<'de> for Id {

struct Visitor;

impl<'de> de::Visitor<'de> for Visitor {
impl de::Visitor<'_> for Visitor {
type Value = Id;

fn expecting(&self, formatter: &mut std::fmt::Formatter) -> std::fmt::Result {
Expand Down
2 changes: 1 addition & 1 deletion iam-common/keys/key.rs
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
use std::env;
use base64::{prelude::BASE64_STANDARD, Engine};
use ed25519_dalek::{pkcs8::EncodePrivateKey, SecretKey, SigningKey, SECRET_KEY_LENGTH};
use jose_jwk::{Jwk, Okp, OkpCurves, Parameters};
use jsonwebtoken::{Algorithm, DecodingKey, EncodingKey};
use rand::rngs::OsRng;
use std::env;

pub struct Key {
pub(super) jwk: Jwk,
Expand Down

0 comments on commit 558d2d5

Please sign in to comment.