diff options
Diffstat (limited to 'openpgp/examples/sign-detached.rs')
-rw-r--r-- | openpgp/examples/sign-detached.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/openpgp/examples/sign-detached.rs b/openpgp/examples/sign-detached.rs index a185cef9..30da708b 100644 --- a/openpgp/examples/sign-detached.rs +++ b/openpgp/examples/sign-detached.rs @@ -54,7 +54,7 @@ fn main() { // Compose a writer stack corresponding to the output format and // packet structure we want. First, we want the output to be // ASCII armored. - let mut sink = armor::Writer::new(io::stdout(), armor::Kind::Signature, &[]) + let mut sink = armor::Writer::new(io::stdout(), armor::Kind::Signature) .expect("Failed to create armored writer."); // Stream an OpenPGP message. |