Skip to content

Commit ed202c4

Browse files
committed
Fixed clippy error
Signed-off-by: mematthias <[email protected]>
1 parent 61aad83 commit ed202c4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

cryptoki/src/object.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1156,7 +1156,7 @@ impl TryFrom<CK_ML_KEM_PARAMETER_SET_TYPE> for MlKemParameterSetType {
11561156
CKP_ML_KEM_768 => Ok(MlKemParameterSetType::ML_KEM_768),
11571157
CKP_ML_KEM_1024 => Ok(MlKemParameterSetType::ML_KEM_1024),
11581158
_ => {
1159-
error!("ML-KEM parameter set {} is not supported.", val);
1159+
error!("ML-KEM parameter set {val} is not supported.");
11601160
Err(Error::NotSupported)
11611161
}
11621162
}
@@ -1225,7 +1225,7 @@ impl TryFrom<CK_ML_DSA_PARAMETER_SET_TYPE> for MlDsaParameterSetType {
12251225
CKP_ML_DSA_65 => Ok(MlDsaParameterSetType::ML_DSA_65),
12261226
CKP_ML_DSA_87 => Ok(MlDsaParameterSetType::ML_DSA_87),
12271227
_ => {
1228-
error!("ML-DSA parameter set {} is not supported.", val);
1228+
error!("ML-DSA parameter set {val} is not supported.");
12291229
Err(Error::NotSupported)
12301230
}
12311231
}

0 commit comments

Comments
 (0)