Skip to content
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
lint
  • Loading branch information
romgrk committed Aug 21, 2024
commit 34ed2e838eacbcbbc332f7233025658018e891c9
2 changes: 1 addition & 1 deletion packages/hash-rust/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ module.exports.xxh = wrapStringToU32('xxh')
module.exports.murmur2 = wrapStringToU32('murmur2')

function wrapStringToU32(name) {
return (input) => {
return input => {
const ptr0 = MEM_START
const len0 = cachedTextEncoder.encodeInto(input, memory).written
const ret = wasm[name](ptr0, len0)
Expand Down