docs: fix grammar and typos in comments and documentation (#5254)

* docs: fix grammar and typos in comments and documentation

* docs: use British English style for e.g. and i.e. (no trailing comma)
Changed from American English style (e.g.,) to British English style (e.g.)
for consistency with the rest of the codebase."
This commit is contained in:
Antti Jalomäki authored and GitHub committed 2026-01-23 13:30:00 -08:00
1 parent 409d8358b6
commit 4070d0c8bd
19 files changed
+30 -30

No files matched your search

+2 -2
View File
@@ -40,12 +40,12 @@ pub mod minimal_bindings {
#[wasm_bindgen(module = "/src/js/hydrate.js")]
extern "C" {
/// Register a callback that that will be called to hydrate a node at the given id with data from the server
/// Register a callback that will be called to hydrate a node at the given id with data from the server
pub fn register_rehydrate_chunk_for_streaming(
closure: &wasm_bindgen::closure::Closure<dyn FnMut(Vec<u32>, js_sys::Uint8Array)>,
);
/// Register a callback that that will be called to hydrate a node at the given id with data from the server
/// Register a callback that will be called to hydrate a node at the given id with data from the server
pub fn register_rehydrate_chunk_for_streaming_debug(
closure: &wasm_bindgen::closure::Closure<
dyn FnMut(Vec<u32>, js_sys::Uint8Array, Option<Vec<String>>, Option<Vec<String>>),