Skip to content

Commit

Permalink
fix: missing reference from last commit
Browse files Browse the repository at this point in the history
  • Loading branch information
elijah-potter committed Dec 31, 2024
1 parent d896739 commit 2c9c340
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion harper-wasm/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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]
Expand Down

0 comments on commit 2c9c340

Please sign in to comment.