chore: address all cargo clippy lints

* also do a bit of a doc cleanup for the `load_from_folder` fn
This commit is contained in:
Yuri Astrakhan authored and Martin Nordholts committed 2025-08-19 05:22:47 +02:00
1 parent d9fbd18541
commit 503c50b1ec
6 files changed
+25 -22

No files matched your search

+1 -1
View File
@@ -399,7 +399,7 @@ impl<'a> InteractivePrinter<'a> {
while content_graphemes.len() > content_width {
let (content_line, remaining) = content_graphemes.split_at(content_width);
self.print_header_component_with_indent(handle, content_line.join("").as_str())?;
content_graphemes = remaining.iter().cloned().collect();
content_graphemes = remaining.to_vec();
}
self.print_header_component_with_indent(handle, content_graphemes.join("").as_str())
}