summaryrefslogtreecommitdiffstats
path: root/openpgp-ffi/src/revocation_status.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 /openpgp-ffi/src/revocation_status.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 'openpgp-ffi/src/revocation_status.rs')
-rw-r--r--openpgp-ffi/src/revocation_status.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/openpgp-ffi/src/revocation_status.rs b/openpgp-ffi/src/revocation_status.rs
index 03362ec4..04841ede 100644
--- a/openpgp-ffi/src/revocation_status.rs
+++ b/openpgp-ffi/src/revocation_status.rs
@@ -4,10 +4,10 @@ use libc::c_int;
extern crate sequoia_openpgp as openpgp;
-use RefRaw;
+use crate::RefRaw;
/// The revocation status.
-#[::ffi_wrapper_type(prefix = "pgp_", derive = "Debug")]
+#[crate::ffi_wrapper_type(prefix = "pgp_", derive = "Debug")]
pub struct RevocationStatus<'a>(openpgp::RevocationStatus<'a>);
fn revocation_status_to_int(rs: &openpgp::RevocationStatus) -> c_int {