summaryrefslogtreecommitdiff
path: root/core/runtime.rs
diff options
context:
space:
mode:
authorNayeem Rahman <nayeemrmn99@gmail.com>2022-09-02 18:44:45 +0100
committerGitHub <noreply@github.com>2022-09-02 19:44:45 +0200
commit4f8dea100e751d550a4a40d11b142fc9a7c4a5a8 (patch)
treefb104109048c308161cf9f1c74cf900367e9b60e /core/runtime.rs
parent5262937285e72419c6576ae1595d43f23e0c7b9d (diff)
refactor(test): grab runTests() and runBenchmarks() from __bootstrap (#15420)
Diffstat (limited to 'core/runtime.rs')
-rw-r--r--core/runtime.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/runtime.rs b/core/runtime.rs
index b1d8f3d80..5b3b0ce50 100644
--- a/core/runtime.rs
+++ b/core/runtime.rs
@@ -629,7 +629,7 @@ impl JsRuntime {
.ok()
}
- pub(crate) fn grab_global<'s, T>(
+ pub fn grab_global<'s, T>(
scope: &mut v8::HandleScope<'s>,
path: &str,
) -> Option<v8::Local<'s, T>>