diff options
author | Vika <vika@fireburn.ru> | 2023-06-22 20:25:28 +0300 |
---|---|---|
committer | Vika <vika@fireburn.ru> | 2023-06-22 20:25:28 +0300 |
commit | ff358723da641af9f4ae1f742eb1b382f4630220 (patch) | |
tree | 32a2319a0bea909b9d267e44fa3a632991ddda12 /kittybox-rs/examples/password-hasher.rs | |
parent | 0285e630f3cae1ee2df2c7c465998b1ce669944f (diff) | |
download | kittybox-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