Remove nested groups in use.

This commit is contained in:
Vojtěch Pejša 2019-04-15 13:59:29 +02:00
parent 63c7bda0c2
commit bbff79636f
1 changed files with 4 additions and 5 deletions

View File

@ -34,12 +34,10 @@ use error::ErrorStack;
use ffi; use ffi;
use foreign_types::ForeignType; use foreign_types::ForeignType;
use libc::{c_int, c_uchar}; use libc::{c_int, c_uchar};
use pkey::{PKey, Private, Public};
use std::cmp; use std::cmp;
use symm::Cipher; use symm::Cipher;
use { use {cvt, cvt_p};
cvt, cvt_p,
pkey::{PKey, Private, Public},
};
/// Represents a EVP_Seal context. /// Represents a EVP_Seal context.
pub struct EvpSeal { pub struct EvpSeal {
@ -253,7 +251,8 @@ impl Drop for EvpOpen {
#[cfg(test)] #[cfg(test)]
mod test { mod test {
use super::*; use super::*;
use {pkey::PKey, symm::Cipher}; use pkey::PKey;
use symm::Cipher;
#[test] #[test]
fn public_encrypt_private_decrypt() { fn public_encrypt_private_decrypt() {