Skip to content

Commit

Permalink
resolution
Browse files Browse the repository at this point in the history
  • Loading branch information
theswerd committed Jan 9, 2025
1 parent 91fef55 commit 6d491b6
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion resolvers/node/resolution.rs
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,9 @@ impl Debug for ConditionsFromResolutionMode {
}

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

0 comments on commit 6d491b6

Please sign in to comment.