Skip to content

Commit

Permalink
fix function name
Browse files Browse the repository at this point in the history
  • Loading branch information
sokra committed Sep 4, 2024
1 parent abc7ccc commit 1595523
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions turbopack/crates/turbo-tasks/src/backend.rs
Original file line number Diff line number Diff line change
Expand Up @@ -312,18 +312,18 @@ impl CachedTaskType {
fn_type: native_fn,
this: _,
arg: _,
}
| Self::ResolveNative {
} => Cow::Borrowed(&registry::get_function(*native_fn).name),
Self::ResolveNative {
fn_type: native_fn,
this: _,
arg: _,
} => Cow::Borrowed(&registry::get_function(*native_fn).name),
} => format!("*{}", registry::get_function(*native_fn).name).into(),
Self::ResolveTrait {
trait_type: trait_id,
method_name: fn_name,
this: _,
arg: _,
} => format!("{}::{}", registry::get_trait(*trait_id).name, fn_name).into(),
} => format!("*{}::{}", registry::get_trait(*trait_id).name, fn_name).into(),
}
}

Expand Down

0 comments on commit 1595523

Please sign in to comment.