diff --git a/README.md b/README.md index ca32751f..a0856d4d 100644 --- a/README.md +++ b/README.md @@ -27,7 +27,7 @@ This library depends on N-API and requires Node 8.9 or later. It is still pretty One nice feature is that this crate allows you to build add-ons purely with the Rust toolchain and without involving `node-gyp`. ## Taste -```rs +```rust #[js_function(1)] // ------> argument length, omit for zero fn fibonacci<'env>(ctx: CallContext<'env>) -> Result> { let n = ctx.get::(0)?.try_into()?;