about summary refs log tree commit diff
path: root/kittybox-rs/examples/password-hasher.rs
diff options
context:
space:
mode:
authorVika <vika@fireburn.ru>2023-06-22 20:25:28 +0300
committerVika <vika@fireburn.ru>2023-06-22 20:25:28 +0300
commitff358723da641af9f4ae1f742eb1b382f4630220 (patch)
tree32a2319a0bea909b9d267e44fa3a632991ddda12 /kittybox-rs/examples/password-hasher.rs
parent0285e630f3cae1ee2df2c7c465998b1ce669944f (diff)
downloadkittybox-ff358723da641af9f4ae1f742eb1b382f4630220.tar.zst
StorageError: use std::borrow::Cow for msg field
This allows avoiding an unnecessary allocation whenever the error
message is static.
Diffstat (limited to 'kittybox-rs/examples/password-hasher.rs')
0 files changed, 0 insertions, 0 deletions