Skip to content

Commit

Permalink
nits
Browse files Browse the repository at this point in the history
  • Loading branch information
yihozhang committed Jan 27, 2024
1 parent 7d2c619 commit e0854d5
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions tree_unique_args/src/arg_used_analysis.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ use strum::IntoEnumIterator;

fn arg_used_rule_for_ctor(ctor: Constructor) -> Option<String> {
if ctor == Constructor::Arg {
return Some(format!(
return Some(
"
(rule (
(ExprUsesArgs-demand e)
Expand All @@ -12,7 +12,8 @@ fn arg_used_rule_for_ctor(ctor: Constructor) -> Option<String> {
(set (ExprUsesArgs e) (set-of i))
)
:ruleset always-run)"
));
.to_string(),
);
}

let children_queries = ctor
Expand Down

0 comments on commit e0854d5

Please sign in to comment.