mirror of
https://github.com/loot/libloot.git
synced 2026-07-27 14:16:01 -07:00
Deduplicate setting condition
This commit is contained in:
+1
-1
@@ -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
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user