chore: enable safe clippy pedantic lints

This commit is contained in:
Christian Visintin
2026-04-19 01:54:46 +05:30
parent f044e6ace2
commit e11af03fdd
17 changed files with 50 additions and 36 deletions
@@ -87,7 +87,11 @@ impl MockComponent for Log {
self.props.set(attr, value);
if matches!(attr, Attribute::Content) {
self.states.set_list_len(
match self.props.get(Attribute::Content).map(|x| x.unwrap_table()) {
match self
.props
.get(Attribute::Content)
.map(AttrValue::unwrap_table)
{
Some(spans) => spans.len(),
_ => 0,
},