Migrate to Rust 2024

Follows #6637
This commit is contained in:
Y.D.X. 2025-07-22 22:12:42 +08:00
parent e0eaf269d4
commit 3a96fe70d8
No known key found for this signature in database
GPG Key ID: 4BEB459A2C828AEA

View File

@ -131,7 +131,7 @@ impl<'a> HeadingNode<'a> {
// Prepend the numbering to title if it exists // Prepend the numbering to title if it exists
let title = match &self.element.numbering_displayed { let title = match &self.element.numbering_displayed {
// The space should be a `h(0.3em)`, but only plain-texts are supported here. // The space should be a `h(0.3em)`, but only plain-texts are supported here.
Some(ref num) => format!("{num} {title}"), Some(num) => format!("{num} {title}"),
None => title, None => title,
}; };