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:
@@ -250,7 +250,8 @@ pub fn render_page_html(
|
||||
if let Some(ext) = &ext {
|
||||
if matches!(t.kind, LinkKind::Wiki | LinkKind::Interwiki) {
|
||||
if let Some(p) = t.path.take() {
|
||||
t.path = Some(crate::index::strip_wiki_extension(&p, Some(ext)).to_string());
|
||||
t.path =
|
||||
Some(crate::index::strip_wiki_extension(&p, Some(ext)).to_string());
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user