summaryrefslogtreecommitdiff
path: root/core/examples/hello_world.rs
diff options
context:
space:
mode:
Diffstat (limited to 'core/examples/hello_world.rs')
-rw-r--r--core/examples/hello_world.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/examples/hello_world.rs b/core/examples/hello_world.rs
index 50cbe4e2c..cce6e2218 100644
--- a/core/examples/hello_world.rs
+++ b/core/examples/hello_world.rs
@@ -41,7 +41,7 @@ fn main() {
// contains a Deno.core object with several functions for interacting with it.
// You can find its definition in core.js.
runtime
- .execute_script(
+ .execute_script_static(
"<usage>",
r#"
// Print helper function, calling Deno.core.print()