summaryrefslogtreecommitdiffstats
path: root/openpgp/src/crypto/mod.rs
diff options
context:
space:
mode:
authorJustus Winter <justus@sequoia-pgp.org>2019-03-01 11:12:18 +0100
committerJustus Winter <justus@sequoia-pgp.org>2019-03-01 11:49:05 +0100
commitd70b710f431cbfaf33cc6a3701b4282209b55780 (patch)
treebf7c82d6f170eb739940df141a6016d29df096ff /openpgp/src/crypto/mod.rs
parentab7d4ce33bdf44855c7295e870ced2fac17f62e4 (diff)
buffered-reader: Drop BufferedReader prefix.
- For example, `buffered_reader::BufferedReaderMemory` is now called `buffered_reader::Memory`. This makes the type names less unwieldy. - Fixes #206.
Diffstat (limited to 'openpgp/src/crypto/mod.rs')
-rw-r--r--openpgp/src/crypto/mod.rs3
1 files changed, 1 insertions, 2 deletions
diff --git a/openpgp/src/crypto/mod.rs b/openpgp/src/crypto/mod.rs
index 9259611b..eb482c3a 100644
--- a/openpgp/src/crypto/mod.rs
+++ b/openpgp/src/crypto/mod.rs
@@ -168,10 +168,9 @@ pub fn hash_file<R: Read>(reader: R, algos: &[HashAlgorithm])
use ::parse::HashesFor;
use buffered_reader::BufferedReader;
- use buffered_reader::BufferedReaderGeneric;
let reader
- = BufferedReaderGeneric::with_cookie(
+ = buffered_reader::Generic::with_cookie(
reader, None, Default::default());
let mut reader