diff options
author | Ben Bridle <ben@derelict.engineering> | 2025-03-18 13:24:02 +1300 |
---|---|---|
committer | Ben Bridle <ben@derelict.engineering> | 2025-03-18 13:24:20 +1300 |
commit | f25bc47f5c6b7e52304b1e9c9adb4310f2e77ee7 (patch) | |
tree | 5ecda1e2620ded0bfea03facf8a467b246dc03d4 /src/formats/mod.rs | |
parent | dddc94424b124740dd8db8afb5abddc65a01b344 (diff) | |
download | torque-asm-f25bc47f5c6b7e52304b1e9c9adb4310f2e77ee7.zip |
Tidy cody
- Rename tokens field on SyntacticMacroDefinition to body
- Rename push_err! macro to err!
- Create macros for character-matching logic in syntactic parsing
- Replace .as_bytes().to_vec() pattern with .into_bytes()
Diffstat (limited to 'src/formats/mod.rs')
-rw-r--r-- | src/formats/mod.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/formats/mod.rs b/src/formats/mod.rs index 132001a..a77bd72 100644 --- a/src/formats/mod.rs +++ b/src/formats/mod.rs @@ -30,7 +30,7 @@ impl Format { "inhx32" => Self::Inhx32, "raw" => Self::Raw, "source" => Self::Source, - _ => fatal!("Unknown format '{string}', expected 'debug', 'inhx', 'inhx32', 'raw', or 'source'. "), + _ => fatal!("Unknown format '{string}', expected 'debug', 'inhx', 'inhx32', 'raw', or 'source'"), } } } |