summaryrefslogtreecommitdiff
path: root/ext/web/06_streams.js
diff options
context:
space:
mode:
authorNugine <nugine@foxmail.com>2022-10-08 22:04:00 +0800
committerGitHub <noreply@github.com>2022-10-08 19:34:00 +0530
commita3432e54c7214dd37b7318ad03442b8415fb4f67 (patch)
treee570669bd9de5fcd02a5c34c2c9cdcaa4a34db50 /ext/web/06_streams.js
parent206aa191371b9122719e5ed5a97801581f88562d (diff)
fix(serde_v8): avoid creating unsound slice reference (#16189)
This commit fixes one ocurrence of unsoundness by using the newly added API (`v8::String::write_utf8_uninit`). See also [`clippy:uninit_vec`](https://rust-lang.github.io/rust-clippy/master/index.html#uninit_vec). Note that it is not actually a bug. Avoiding unsoundness improves our code quality.
Diffstat (limited to 'ext/web/06_streams.js')
0 files changed, 0 insertions, 0 deletions