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.
TpmFormatZeroWarning
1 parent d53ed0c commit 0151618Copy full SHA for 0151618
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