Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Eliminate an allocation from Literal::byte_string
error: `format!(..)` appended to existing `String` --> src/fallback.rs:879:22 | 879 | _ => escaped.push_str(&format!("\\x{:02X}", b)), | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = note: `-D clippy::format-push-string` implied by `-D clippy::all` = help: consider using `write!` to avoid the extra allocation = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#format_push_string
- Loading branch information