Skip to content

Commit

Permalink
Merge pull request #55 from i509VCB/add-clr-set-no-effect
Browse files Browse the repository at this point in the history
Add no_effect, clr and set to DeleteUselessEnums
  • Loading branch information
Dirbaio authored Jan 21, 2025
2 parents 57953f5 + fa88810 commit b77e18d
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/transform/delete_useless_enums.rs
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ const USELESS_ZERO_NAMES: &[&str] = &[
"disconnected",
"not_detected",
"invalid",
"no_effect",
];
const USELESS_ONE_NAMES: &[&str] = &[
"en",
Expand All @@ -62,6 +63,8 @@ const USELESS_ONE_NAMES: &[&str] = &[
"connected",
"detected",
"valid",
"set",
"clr",
];

const NOT_NAMES: &[&str] = &["not", "no", "un", "de", "in"];
Expand Down

0 comments on commit b77e18d

Please sign in to comment.