From 00a8392656a5c39a1d031ff856a82e3b12c4a29b Mon Sep 17 00:00:00 2001 From: Brian Donovan <1938+eventualbuddha@users.noreply.github.com> Date: Sat, 14 Dec 2024 23:50:03 -0800 Subject: [PATCH] docs(bun-native-plugin-rs): fix typos (#15764) --- packages/bun-native-plugin-rs/README.md | 4 ++-- packages/bun-native-plugin-rs/src/lib.rs | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/packages/bun-native-plugin-rs/README.md b/packages/bun-native-plugin-rs/README.md index 6c57a2c9d1..bf4c23143f 100644 --- a/packages/bun-native-plugin-rs/README.md +++ b/packages/bun-native-plugin-rs/README.md @@ -1,4 +1,4 @@ -> ⚠️ Note: This is an advanced and experimental API recommended only for plugin developers who are familiar with systems proramming and the C ABI. Use with caution. +> ⚠️ Note: This is an advanced and experimental API recommended only for plugin developers who are familiar with systems programming and the C ABI. Use with caution. # Bun Native Plugins @@ -42,7 +42,7 @@ use napi_derive::napi; /// Define the plugin and its name define_bun_plugin!("replace-foo-with-bar"); -/// Here we'll implement `onBeforeParse` with code that replaces all occurences of +/// Here we'll implement `onBeforeParse` with code that replaces all occurrences of /// `foo` with `bar`. /// /// We use the #[bun] macro to generate some of the boilerplate code. diff --git a/packages/bun-native-plugin-rs/src/lib.rs b/packages/bun-native-plugin-rs/src/lib.rs index 1a8f85941c..bed9c52089 100644 --- a/packages/bun-native-plugin-rs/src/lib.rs +++ b/packages/bun-native-plugin-rs/src/lib.rs @@ -1,4 +1,4 @@ -//! > ⚠️ Note: This is an advanced and experimental API recommended only for plugin developers who are familiar with systems proramming and the C ABI. Use with caution. +//! > ⚠️ Note: This is an advanced and experimental API recommended only for plugin developers who are familiar with systems programming and the C ABI. Use with caution. //! //! # Bun Native Plugins //! @@ -44,7 +44,7 @@ //! /// Use `no_mangle` so that we can reference this symbol by name later //! /// when registering this native plugin in JS. //! /// -//! /// Here we'll create a dummy plugin which replaces all occurences of +//! /// Here we'll create a dummy plugin which replaces all occurrences of //! /// `foo` with `bar` //! #[no_mangle] //! pub extern "C" fn on_before_parse_plugin_impl(