Skip to content

Commit 54ffc8e

Browse files
committed
fixup rust clippy 1.97 warnings
Signed-off-by: Arthur Gautier <arthur.gautier@arista.com>
1 parent b4cfbba commit 54ffc8e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • tss-esapi/src/constants/return_code

tss-esapi/src/constants/return_code/layer.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ impl TryFrom<u8> for ReturnCodeLayer {
3333

3434
fn try_from(value: u8) -> Result<Self> {
3535
ReturnCodeLayer::from_u8(value).ok_or_else(|| {
36-
error!("{:#02X} is not valid ReturnCodeLayer", value);
36+
error!("{:#X} is not valid ReturnCodeLayer", value);
3737
Error::local_error(WrapperErrorKind::InvalidParam)
3838
})
3939
}

0 commit comments

Comments
 (0)