mirror of
https://github.com/denoland/deno.git
synced 2025-01-21 13:00:36 -05:00
resolution
This commit is contained in:
parent
91fef5521e
commit
6d491b63c7
1 changed files with 3 additions and 1 deletions
|
@ -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),
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue