mirror of
https://github.com/fluencelabs/wasm-bindgen
synced 2025-04-13 23:56:06 +00:00
Fixing minor typo
This commit is contained in:
parent
92c2e0ebe7
commit
d9ae387536
@ -860,7 +860,7 @@ impl<'a> Context<'a> {
|
|||||||
|
|
||||||
// Another possibility is to use `TextEncoder#encodeInto` which is much
|
// Another possibility is to use `TextEncoder#encodeInto` which is much
|
||||||
// newer and isn't implemented everywhere yet. It's more efficient,
|
// newer and isn't implemented everywhere yet. It's more efficient,
|
||||||
// however, becaues it allows us to elide an intermediate allocation.]
|
// however, becaues it allows us to elide an intermediate allocation.
|
||||||
let encode_into = "function (arg, view) {
|
let encode_into = "function (arg, view) {
|
||||||
return cachedTextEncoder.encodeInto(arg, view);
|
return cachedTextEncoder.encodeInto(arg, view);
|
||||||
}";
|
}";
|
||||||
|
Loading…
x
Reference in New Issue
Block a user