summaryrefslogtreecommitdiffstats
path: root/tool/tests/sq-sign.rs
diff options
context:
space:
mode:
authorJustus Winter <justus@sequoia-pgp.org>2019-07-09 12:51:10 +0200
committerJustus Winter <justus@sequoia-pgp.org>2019-07-15 12:47:53 +0200
commit775f0c039349335df880d35db7df6c131419f0eb (patch)
tree2d16928f3a629b7afae95cf1b9d518c5603a9f93 /tool/tests/sq-sign.rs
parentcaec575e3c44e6045e29aa452ad31f91d04ec139 (diff)
Prepare for Rust 2018.
- This is the result of running `cargo fix --edition`, with some manual adjustments. - The vast majority of changes merely qualify module paths with 'crate::'. - Two instances of adding an anonymous pattern to a trait's function. - `async` is a keyword in Rust 2018, and hence it needs to be escaped (e.g. in the case of the net::r#async module). - The manual adjustments were needed due to various shortcomings of the analysis employed by `cargo fix`, e.g. unexpanded macros, procedural macros, lalrpop grammars.
Diffstat (limited to 'tool/tests/sq-sign.rs')
-rw-r--r--tool/tests/sq-sign.rs12
1 files changed, 6 insertions, 6 deletions
diff --git a/tool/tests/sq-sign.rs b/tool/tests/sq-sign.rs
index 7fd4d575..e5624f21 100644
--- a/tool/tests/sq-sign.rs
+++ b/tool/tests/sq-sign.rs
@@ -7,12 +7,12 @@ extern crate tempfile;
use tempfile::TempDir;
extern crate sequoia_openpgp as openpgp;
-use openpgp::{Packet, PacketPile, TPK};
-use openpgp::crypto::KeyPair;
-use openpgp::packet::key::SecretKey;
-use openpgp::constants::{CompressionAlgorithm, DataFormat, SignatureType};
-use openpgp::parse::Parse;
-use openpgp::serialize::stream::{Message, Signer, Compressor, LiteralWriter};
+use crate::openpgp::{Packet, PacketPile, TPK};
+use crate::openpgp::crypto::KeyPair;
+use crate::openpgp::packet::key::SecretKey;
+use crate::openpgp::constants::{CompressionAlgorithm, DataFormat, SignatureType};
+use crate::openpgp::parse::Parse;
+use crate::openpgp::serialize::stream::{Message, Signer, Compressor, LiteralWriter};
fn p(filename: &str) -> String {
format!("../openpgp/tests/data/{}", filename)