removed waring (have remaind dead code for future feature)

This commit is contained in:
Giulio Agostini
2026-07-07 20:31:23 +02:00
parent 2c3267e8a4
commit 84a7bf453f
11 changed files with 122 additions and 84 deletions
+1 -1
View File
@@ -117,7 +117,7 @@ impl PrettyContext {
}
fn should_truncate(&self) -> bool {
self.config.max_depth.map_or(false, |max| self.depth >= max)
self.config.max_depth.is_some_and(|max| self.depth >= max)
}
}