Skip to content

Offline, privacy-first grammar checker. Fast, open-source, Rust-powered

fix: remove mutable ref in test

Grant Lemons18344d38e658
diff --git a/harper-wasm/src/lib.rs b/harper-wasm/src/lib.rs
index 883b7a84d..43456c406 100644
--- a/harper-wasm/src/lib.rs
+++ b/harper-wasm/src/lib.rs
@@ -142,7 +142,7 @@ impl Default for Linter {
#[wasm_bindgen]
pub fn to_title_case(text: String) -> String {
- harper_core::make_title_case_str(&text, &mut PlainEnglish, &FstDictionary::curated())
+ harper_core::make_title_case_str(&text, &PlainEnglish, &FstDictionary::curated())
}
#[wasm_bindgen]
diff --git a/packages/web/src/routes/docs/integrations/neovim/+page.md b/packages/web/src/routes/docs/integrations/neovim/+page.md
index 973e546fe..a16109379 100644
--- a/packages/web/src/routes/docs/integrations/neovim/+page.md
+++ b/packages/web/src/routes/docs/integrations/neovim/+page.md
@@ -49,7 +49,7 @@ As such, you can view this page as canonical documentation for the available con
### Markdown-Specific Config
-The markdown parser has it's own configuration option, used to modify its behavior in specific ways.
+The Markdown parser has it's own configuration option, used to modify its behavior in specific ways.
For example, the title of a link is linted by default, but this behavior can be changed through the `ignore_link_title` key:
```lua