Deduplicate setting condition

This commit is contained in:
Oliver Hamlet
2025-04-11 21:58:13 +01:00
parent 0b0bc4eac6
commit f69a7ced1d
+1 -1
View File
@@ -38,7 +38,7 @@ impl Tag {
/// Set the condition string.
#[must_use]
pub fn with_condition(mut self, condition: String) -> Self {
self.condition = Some(condition);
self.set_condition(condition);
self
}