Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[conversion/rust] Remove zero-padding from ES6-style escaping
In Rust, it's recommended to use short (non-zero-padded) code-points inside ES6-style escaping sequences (`\u{...}`), as it reduces the length of the literal, and works better on the eyes for average use cases, while mechanical parsing remains still fairly easy. See examples in the Rust RFC and related discussion: * https://github.com/rust-lang/rfcs/blob/master/text/0446-es6-unicode-escapes.md * rust-lang/rfcs#446 * rust-lang/rust#19739
- Loading branch information