style: rustfmt the issue #6 parity changes
`cargo fmt --check` (CI) flagged the hand-formatted destructure in the lexer test and an over-long line in export.rs. No behavior change. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
@@ -180,8 +180,12 @@ fn preformatted_block_parses_language() {
|
||||
fn preformatted_block_parses_attrs() {
|
||||
let lexed = lex("{{{rust class=\"hl\" key=val\nx\n}}}\n");
|
||||
let PreformattedOpen {
|
||||
language, attrs, raw, ..
|
||||
} = &lexed[0] else {
|
||||
language,
|
||||
attrs,
|
||||
raw,
|
||||
..
|
||||
} = &lexed[0]
|
||||
else {
|
||||
panic!("expected PreformattedOpen");
|
||||
};
|
||||
assert_eq!(language.as_deref(), Some("rust"));
|
||||
|
||||
Reference in New Issue
Block a user