Prefer using a smallstr instead of a real String to reduce allocations

This commit is contained in:
Clément Renault
2020-10-29 14:32:32 +01:00
parent 40993a0d25
commit b5d52b6b45
3 changed files with 8 additions and 8 deletions

1
Cargo.lock generated
View File

@ -1838,6 +1838,7 @@ version = "0.2.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "1e922794d168678729ffc7e07182721a14219c65814e66e91b839a272fe5ae4f"
dependencies = [
"serde",
"smallvec",
]