rust: Run rustfmt with some experimental options

+ Sort and group the imports
+ Normalize and format comments (100 characters width)

Command used:

$ cargo +nightly fmt --

Acked-by: Steffen Eiden <seiden@linux.ibm.com>
Signed-off-by: Marc Hartmayer <marc@linux.ibm.com>
Signed-off-by: Jan Höppner <hoeppner@linux.ibm.com>
This commit is contained in:
Marc Hartmayer
2026-05-11 14:43:53 +02:00
committed by Jan Höppner
parent 3d5f75d6c3
commit f8fb9ce32a
120 changed files with 825 additions and 900 deletions
+4 -2
View File
@@ -58,7 +58,8 @@ pub enum Command {
/// Check if the attestation result matches defined policies.
///
/// After the attestation verification, check whether the attestation result complies with user-defined policies.
/// After the attestation verification, check whether the attestation result complies with
/// user-defined policies.
Check(CheckOpt),
/// Print version information and exit.
@@ -103,7 +104,8 @@ pub enum AttAddFlags {
/// additional-data.
PhkhAtt,
/// Request a hash over all successful Add-secret requests and the lock state as additional-data.
/// Request a hash over all successful Add-secret requests and the lock state as
/// additional-data.
SecretStoreHash,
/// Request the state of the firmware as additional-data.