summaryrefslogtreecommitdiffstats
path: root/openpgp/src/parse/stream.rs
diff options
context:
space:
mode:
Diffstat (limited to 'openpgp/src/parse/stream.rs')
-rw-r--r--openpgp/src/parse/stream.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/openpgp/src/parse/stream.rs b/openpgp/src/parse/stream.rs
index bab21e4c..48c1fd2a 100644
--- a/openpgp/src/parse/stream.rs
+++ b/openpgp/src/parse/stream.rs
@@ -1911,7 +1911,8 @@ mod test {
{
let key = tpk.keys_all().signing_capable().nth(0).unwrap().2;
let keypair =
- key.clone().mark_parts_secret().into_keypair().unwrap();
+ key.clone().mark_parts_secret().unwrap()
+ .into_keypair().unwrap();
let m = Message::new(&mut buf);
let signer = Signer::new(m, keypair).build().unwrap();