You've already forked authentication-service
mirror of
https://github.com/matrix-org/matrix-authentication-service.git
synced 2025-08-07 17:03:01 +03:00
Enable clippy lints on a workspace level
This enables a lot more lints than before in some crates, so this fixed a lot of warnings as well.
This commit is contained in:
@@ -119,7 +119,7 @@ macro_rules! asymetric_jwt_test {
|
||||
let mut rng = ChaCha8Rng::seed_from_u64(42);
|
||||
let alg = JsonWebSignatureAlg::$alg;
|
||||
let payload = Payload {
|
||||
hello: "world".to_string(),
|
||||
hello: "world".to_owned(),
|
||||
};
|
||||
let header = JsonWebSignatureHeader::new(alg.clone());
|
||||
|
||||
@@ -137,7 +137,7 @@ macro_rules! asymetric_jwt_test {
|
||||
fn sign_and_verify_jwt() {
|
||||
let alg = JsonWebSignatureAlg::$alg;
|
||||
let payload = Payload {
|
||||
hello: "world".to_string(),
|
||||
hello: "world".to_owned(),
|
||||
};
|
||||
let header = JsonWebSignatureHeader::new(alg.clone());
|
||||
|
||||
@@ -192,7 +192,7 @@ macro_rules! symetric_jwt_test {
|
||||
fn sign_and_verify_jwt() {
|
||||
let alg = JsonWebSignatureAlg::$alg;
|
||||
let payload = Payload {
|
||||
hello: "world".to_string(),
|
||||
hello: "world".to_owned(),
|
||||
};
|
||||
let header = JsonWebSignatureHeader::new(alg.clone());
|
||||
|
||||
|
Reference in New Issue
Block a user