diff options
| author | Nugine <nugine@foxmail.com> | 2022-10-08 22:04:00 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-10-08 19:34:00 +0530 |
| commit | a3432e54c7214dd37b7318ad03442b8415fb4f67 (patch) | |
| tree | e570669bd9de5fcd02a5c34c2c9cdcaa4a34db50 /ext | |
| parent | 206aa191371b9122719e5ed5a97801581f88562d (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')
0 files changed, 0 insertions, 0 deletions
