diff --git a/README.md b/README.md index a0856d4d..9488474d 100644 --- a/README.md +++ b/README.md @@ -28,7 +28,7 @@ One nice feature is that this crate allows you to build add-ons purely with the ## Taste ```rust -#[js_function(1)] // ------> argument length, omit for zero +#[js_function(1)] // ------> arguments length, omit for zero fn fibonacci<'env>(ctx: CallContext<'env>) -> Result> { let n = ctx.get::(0)?.try_into()?; ctx.env.create_int64(fibonacci_native(n))