Skip to content

Commit

Permalink
Remove some weird and pointless syntax (#10070)
Browse files Browse the repository at this point in the history
  • Loading branch information
alex authored Dec 28, 2023
1 parent fc6e295 commit d911018
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 15 deletions.
6 changes: 1 addition & 5 deletions src/rust/cryptography-x509/src/crl.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,7 @@
// 2.0, and the BSD License. See the LICENSE file in the root of this repository
// for complete details.

use crate::{
common,
extensions::{self},
name,
};
use crate::{common, extensions, name};

pub type ReasonFlags<'a> =
Option<common::Asn1ReadableOrWritable<asn1::BitString<'a>, asn1::OwnedBitString>>;
Expand Down
6 changes: 1 addition & 5 deletions src/rust/cryptography-x509/src/ocsp_req.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,7 @@
// 2.0, and the BSD License. See the LICENSE file in the root of this repository
// for complete details.

use crate::{
common,
extensions::{self},
name,
};
use crate::{common, extensions, name};

#[derive(asn1::Asn1Read, asn1::Asn1Write)]
pub struct TBSRequest<'a> {
Expand Down
6 changes: 1 addition & 5 deletions src/rust/cryptography-x509/src/ocsp_resp.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,7 @@
// 2.0, and the BSD License. See the LICENSE file in the root of this repository
// for complete details.

use crate::{
certificate, common, crl,
extensions::{self},
name, ocsp_req,
};
use crate::{certificate, common, crl, extensions, name, ocsp_req};

#[derive(asn1::Asn1Read, asn1::Asn1Write)]
pub struct OCSPResponse<'a> {
Expand Down

0 comments on commit d911018

Please sign in to comment.