mirror of
https://github.com/saymrwulf/xous-core.git
synced 2026-11-12 07:44:18 +00:00
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. |
||
|---|---|---|
| .. | ||
| api | ||
| ctap | ||
| env | ||
| ux | ||
| actions.rs | ||
| itemcache.rs | ||
| lib.rs | ||
| main.rs | ||
| migration_v1.rs | ||
| prereqs.rs | ||
| storage.rs | ||
| submenu.rs | ||
| totp.rs | ||
| ux.rs | ||
| vault_api.rs | ||
| vendor_commands.rs | ||