conlang: More clippy

This commit is contained in:
2025-09-15 00:17:50 -04:00
parent 1fe796dda7
commit 62940b3d24
5 changed files with 8 additions and 8 deletions

View File

@@ -54,7 +54,7 @@ pub mod yamler {
Self::default()
}
pub fn indent(&mut self) -> Section {
pub fn indent(&mut self) -> Section<'_> {
Section::new(self)
}
@@ -80,7 +80,7 @@ pub mod yamler {
}
/// Prints a section header and increases indentation
pub fn key(&mut self, name: impl Yamlify) -> Section {
pub fn key(&mut self, name: impl Yamlify) -> Section<'_> {
println!();
self.print_indentation(&mut std::io::stdout().lock());
print!(" ");