Skip to content

Commit

Permalink
fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
oflatt committed Aug 8, 2024
1 parent 1d8c666 commit 1e6daea
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1100,7 +1100,9 @@ impl EGraph {
match rules {
Ruleset::Rules(_, rules) => {
match rules.entry(name) {
indexmap::map::Entry::Occupied(_) => panic!("Rule '{name}' was already present"),
indexmap::map::Entry::Occupied(_) => {
panic!("Rule '{name}' was already present")
}
indexmap::map::Entry::Vacant(e) => e.insert(compiled_rule),
};
Ok(name)
Expand Down

0 comments on commit 1e6daea

Please sign in to comment.