compiler: updated to rust 1.84, now we have let chains!

This commit is contained in:
2025-09-14 19:08:59 -04:00
parent fcab20579a
commit f0c871711c
4 changed files with 17 additions and 17 deletions

View File

@@ -72,7 +72,7 @@ pub mod clangifier {
Self::default()
}
pub fn indent(&mut self) -> Section {
pub fn indent(&mut self) -> Section<'_> {
Section::new(self)
}
@@ -104,7 +104,7 @@ pub mod clangifier {
}
/// Prints a section header and increases indentation
pub fn nest(&mut self, name: impl Display) -> Section {
pub fn nest(&mut self, name: impl Display) -> Section<'_> {
print!("{name}");
self.indent()
}