diff --git a/tree_unique_args/src/arg_used_analysis.rs b/tree_unique_args/src/arg_used_analysis.rs index c6bf08740..8f6502169 100644 --- a/tree_unique_args/src/arg_used_analysis.rs +++ b/tree_unique_args/src/arg_used_analysis.rs @@ -3,7 +3,7 @@ use strum::IntoEnumIterator; fn arg_used_rule_for_ctor(ctor: Constructor) -> Option { if ctor == Constructor::Arg { - return Some(format!( + return Some( " (rule ( (ExprUsesArgs-demand e) @@ -12,7 +12,8 @@ fn arg_used_rule_for_ctor(ctor: Constructor) -> Option { (set (ExprUsesArgs e) (set-of i)) ) :ruleset always-run)" - )); + .to_string(), + ); } let children_queries = ctor