clippy + fmt

This commit is contained in:
Anton-4 2024-06-19 12:34:10 +02:00
parent fb7fa99b2c
commit 05a61e2210
No known key found for this signature in database
GPG key ID: 0971D718C0A9B937
11 changed files with 55 additions and 65 deletions

View file

@ -20,9 +20,11 @@ pub enum Action {
#[derive(Debug, Clone, Copy)]
enum BlockType {
Loop(usize), // Loop block, with start address to loop back to
Normal, // Block created by `block` instruction
Locals(usize), // Special "block" for locals. Holds function index for debug
Loop(usize), // Loop block, with start address to loop back to
Normal, // Block created by `block` instruction
#[allow(dead_code)]
Locals(usize), // Special "block" for locals. Holds function index for debug
#[allow(dead_code)]
FunctionBody(usize), // Special block surrounding the function body. Holds function index for debug
}