diff options
author | Daniel Mueller <deso@posteo.net> | 2019-01-20 06:42:39 -0800 |
---|---|---|
committer | Daniel Mueller <deso@posteo.net> | 2019-01-20 06:42:39 -0800 |
commit | 01fb9e579de1c019ed718e04f9b592f2687f7040 (patch) | |
tree | 0e8f87cb21e69aed505345b3ff92bc8822ac2155 /libc/src/unix/notbsd/linux/other/b32/powerpc.rs | |
parent | ac2bfc709f57094bac54b299f0a307b765e9b674 (diff) | |
download | nitrocli-01fb9e579de1c019ed718e04f9b592f2687f7040.tar.gz nitrocli-01fb9e579de1c019ed718e04f9b592f2687f7040.tar.bz2 |
Return Cow object from SecretEntry methods
We do not know what kind of data future implementers of the SecretEntry
trait may want to return. For all we know these could just be static
strings, in which case the forced conversion into a String by virtue of
the return type is wasteful.
To be more flexible in the future while gaining some consistency, this
change makes all those trait's methods return a Cow object instead.
Diffstat (limited to 'libc/src/unix/notbsd/linux/other/b32/powerpc.rs')
0 files changed, 0 insertions, 0 deletions