Skip to content

Commit

Permalink
ok this could be it please dear lord
Browse files Browse the repository at this point in the history
  • Loading branch information
theswerd committed Jan 9, 2025
1 parent bc1fcd1 commit 91fef55
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion resolvers/node/resolution.rs
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ impl Debug for ConditionsFromResolutionMode {
}

impl ConditionsFromResolutionMode {
pub fn new(func: dyn Fn(ResolutionMode) -> &'static [&'static str]) -> Self {
pub fn new(func: impl Fn(ResolutionMode) -> &'static [&'static str]) -> Self {
Self {
func: MaybeArc::new(func),
}
Expand Down

0 comments on commit 91fef55

Please sign in to comment.