misc: tpm: streamline error Display::fmt()

The changes were mostly automatically applied using the Python
script mentioned in the first commit of this series.

Signed-off-by: Philipp Schuster <philipp.schuster@cyberus-technology.de>
On-behalf-of: SAP philipp.schuster@sap.com
This commit is contained in:
Philipp Schuster
2025-05-21 12:31:40 +02:00
committed by Rob Bradford
parent 1ede418dcc
commit 3541cebbf1
3 changed files with 11 additions and 11 deletions
+1 -1
View File
@@ -46,7 +46,7 @@ pub enum Commands {
#[derive(Error, Debug)]
pub enum Error {
#[error("Failed converting buf to PTM : {0}")]
#[error("Failed converting buf to PTM ")]
ConvertToPtm(#[source] anyhow::Error),
}
type Result<T> = anyhow::Result<T, Error>;