Skip to content

Commit

Permalink
Fix non-inline example in README.md
Browse files Browse the repository at this point in the history
NB this is untested, I just noticed this error while reading the project home page.
  • Loading branch information
softmoth authored Nov 21, 2024
1 parent bb34dc3 commit a1f7091
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ assert_eq!(hasher.finish(), 17498481775468162579);

// a non-inline hasher for when you don't want to force inlining,
// such as when being careful with WASM binary size.\
let mut hasher = RapidInlineHasher::default();
let mut hasher = RapidHasher::default();
hasher.write(b"hello world");
assert_eq!(hasher.finish(), 17498481775468162579);

Expand Down

0 comments on commit a1f7091

Please # to comment.