xous-core/apps/vault/src
bunnie 9f5a5d0ada rustfmt vs rustc linter: FIGHT
rustfmt shortened some blocks to be one-liners.
the blocks ensure the contents have Drop called on them.
the linter hates the braces, saying they are unused.

Perhaps, in fact, the contents don't need Drop called
on them exactly at that time because there isn't a conflicting
statement elsewhere in the block that uses it. It *might*
be right.

But then, later on, when you write some code that assumes
that implicit Drop happened, guess what. You'll spend hours
scratching your head as to what went wrong.

I just stuck a comment in the block to keep rustfmt from
thinking it should format that block.
2024-01-14 23:34:07 +08:00
..
api fix rustfmt::skip warning 2024-01-14 23:12:52 +08:00
ctap fix rustfmt::skip warning 2024-01-14 23:12:52 +08:00
env fix rustfmt::skip warning 2024-01-14 23:12:52 +08:00
ux format apps/vault 2024-01-14 19:09:53 +08:00
actions.rs rustfmt vs rustc linter: FIGHT 2024-01-14 23:34:07 +08:00
itemcache.rs format apps/vault 2024-01-14 19:09:53 +08:00
lib.rs fix rustfmt::skip warning 2024-01-14 23:12:52 +08:00
main.rs format apps/vault 2024-01-14 19:09:53 +08:00
migration_v1.rs format apps/vault 2024-01-14 19:09:53 +08:00
prereqs.rs format apps/vault 2024-01-14 19:09:53 +08:00
storage.rs format apps/vault 2024-01-14 19:09:53 +08:00
submenu.rs format apps/vault 2024-01-14 19:09:53 +08:00
totp.rs format apps/vault 2024-01-14 19:09:53 +08:00
ux.rs format apps/vault 2024-01-14 19:09:53 +08:00
vault_api.rs format apps/vault 2024-01-14 19:09:53 +08:00
vendor_commands.rs format apps/vault 2024-01-14 19:09:53 +08:00