summaryrefslogtreecommitdiff
path: root/runtime/ops/mod.rs
diff options
context:
space:
mode:
authorBartek IwaƄczuk <biwanczuk@gmail.com>2024-09-17 02:13:34 +0100
committerGitHub <noreply@github.com>2024-09-17 01:13:34 +0000
commitaaf2bf4bfbf90bed0b6e9812f337f057d1d24f93 (patch)
treec8e9f889c5864fcdc9d14bda0b13190449deae00 /runtime/ops/mod.rs
parent01b5dfd9ea927d41492fde352cd79f7b972439b9 (diff)
chore: upgrade deno_core (#25674)
No functional changes, just removes dead code.
Diffstat (limited to 'runtime/ops/mod.rs')
-rw-r--r--runtime/ops/mod.rs6
1 files changed, 1 insertions, 5 deletions
diff --git a/runtime/ops/mod.rs b/runtime/ops/mod.rs
index ad650a776..feed5052b 100644
--- a/runtime/ops/mod.rs
+++ b/runtime/ops/mod.rs
@@ -17,11 +17,7 @@ use deno_core::OpState;
/// Helper for checking unstable features. Used for sync ops.
pub fn check_unstable(state: &OpState, feature: &str, api_name: &str) {
- // TODO(bartlomieju): replace with `state.feature_checker.check_or_exit`
- // once we phase out `check_or_exit_with_legacy_fallback`
- state
- .feature_checker
- .check_or_exit_with_legacy_fallback(feature, api_name);
+ state.feature_checker.check_or_exit(feature, api_name);
}
pub struct TestingFeaturesEnabled(pub bool);