diff --git a/harper-wasm/src/lib.rs b/harper-wasm/src/lib.rs index 563e9293..cb3c466f 100644 --- a/harper-wasm/src/lib.rs +++ b/harper-wasm/src/lib.rs @@ -138,7 +138,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, &mut PlainEnglish, &FstDictionary::curated()) } #[wasm_bindgen]