We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents d53ed0c + 0151618 commit a87da5dCopy full SHA for a87da5d
tss-esapi/src/constants/return_code/tpm/format_zero/warning.rs
@@ -70,8 +70,8 @@ impl TryFrom<u8> for TpmFormatZeroWarning {
70
}
71
72
impl From<TpmFormatZeroWarning> for u8 {
73
- fn from(tpm_format_zeror_wraning: TpmFormatZeroWarning) -> u8 {
+ fn from(value: TpmFormatZeroWarning) -> u8 {
74
// This is safe because the values are well defined.
75
- tpm_format_zeror_wraning.to_u8().unwrap()
+ value.to_u8().unwrap()
76
77
0 commit comments