summaryrefslogtreecommitdiff
path: root/src/model
diff options
context:
space:
mode:
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());
}
}