Skip to content

Commit

Permalink
Remove unnecessary conversion
Browse files Browse the repository at this point in the history
  • Loading branch information
Oyelowo committed Jan 17, 2025
1 parent 3260289 commit 3110f1d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion twust-macro/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ fn is_valid_modifier(modifier: &str) -> bool {
let modifiers: HashSet<String> = HashSet::from_iter(get_modifiers(
&read_tailwind_config().expect("Problem getting modifiers"),
));
modifiers.contains(&modifier.to_string())
modifiers.contains(modifier)
}

fn parse_predefined_tw_classname(input: &str) -> IResult<&str, ()> {
Expand Down

0 comments on commit 3110f1d

Please sign in to comment.