diff options
Diffstat (limited to 'core/examples/hello_world.rs')
-rw-r--r-- | core/examples/hello_world.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/examples/hello_world.rs b/core/examples/hello_world.rs index a1edbead0..50cbe4e2c 100644 --- a/core/examples/hello_world.rs +++ b/core/examples/hello_world.rs @@ -22,7 +22,7 @@ fn op_sum(nums: Vec<f64>) -> Result<f64, deno_core::error::AnyError> { fn main() { // Build a deno_core::Extension providing custom ops - let ext = Extension::builder() + let ext = Extension::builder("my_ext") .ops(vec![ // An op for summing an array of numbers // The op-layer automatically deserializes inputs |