make clippy happy
This commit is contained in:
1 parent
e43bdd815f
commit
25f02904e9
6 files changed
+12
-14
No files matched your search
@@ -88,7 +88,7 @@ impl StringCache {
|
||||
inner_html = Some(value);
|
||||
} else if let Some("style") = namespace {
|
||||
styles.push((name, value));
|
||||
} else if BOOL_ATTRS.contains(&name) {
|
||||
} else if BOOL_ATTRS.contains(name) {
|
||||
if str_truthy(value) {
|
||||
write!(chain, " {name}=\"{value}\"",)?;
|
||||
}
|
||||
|
||||
@@ -91,7 +91,7 @@ impl Renderer {
|
||||
write_value(buf, &attr.value)?;
|
||||
}
|
||||
} else {
|
||||
write_attribute(buf, &attr)?;
|
||||
write_attribute(buf, attr)?;
|
||||
}
|
||||
}
|
||||
Segment::Node(idx) => match &template.dynamic_nodes[*idx] {
|
||||
|
||||
Reference in new issue
Block a user