summaryrefslogtreecommitdiff
path: root/src/model
diff options
context:
space:
mode:
authorLaurenz <laurmaedje@gmail.com>2023-01-31 19:29:01 +0100
committerLaurenz <laurmaedje@gmail.com>2023-01-31 19:29:01 +0100
commitf72c81a7571888251e23999dcdc3daf7d567d7bf (patch)
tree8806a62da981436d293af8ea06cecfe12389fa96 /src/model
parentec05ed7e0646d1e8ff76677d0332ddf93ed57b69 (diff)
More `PartialEq` impls for `EcoString`
Diffstat (limited to 'src/model')
-rw-r--r--src/model/content.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/model/content.rs b/src/model/content.rs
index 143f97aa..e6cb6d28 100644
--- a/src/model/content.rs
+++ b/src/model/content.rs
@@ -173,7 +173,7 @@ impl Content {
for modifier in &self.modifiers {
if let Modifier::Field(other, value) = modifier {
- if name == other.as_str() {
+ if name == other {
return Some(value.clone());
}
}