about summary refs log tree commit diff
path: root/tests/rustdoc-js-std/parser-errors.js
diff options
context:
space:
mode:
authorMartin Gammelsæter <martin@mg.am>2022-03-09 22:21:35 +0100
committerMartin Gammelsæter <martin@mg.am>2022-03-09 22:21:35 +0100
commit7f4f4fc34c5f404042e200c26ffb0395278d2cea (patch)
tree83e9afcf3d9683e2647ce52a267b0ae38e8488d9 /tests/rustdoc-js-std/parser-errors.js
parent876142417cd03ee0838d2fc83ddac83c06748ca6 (diff)
downloadrust-7f4f4fc34c5f404042e200c26ffb0395278d2cea.tar.gz
rust-7f4f4fc34c5f404042e200c26ffb0395278d2cea.zip
Use indexing instead of .get_unchecked() for LUT lookup
Based on @paolobarbolini's tip that the unsafe block was unnecessary in
this case.

Not much left of `hexify()` after this, so seemed clearer to just inline
it.
Diffstat (limited to 'tests/rustdoc-js-std/parser-errors.js')
0 files changed, 0 insertions, 0 deletions