Skip to content

Commit f5d49b2

Browse files
committed
rustfmt to reformat imports
(with rustls's config)
1 parent 7bbc08e commit f5d49b2

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

src/lib.rs

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,12 @@ extern crate std;
6060
mod tests;
6161

6262
mod pemfile;
63+
#[cfg(feature = "std")]
64+
use core::iter;
65+
/// --- Legacy APIs:
66+
#[cfg(feature = "std")]
67+
use std::io;
68+
6369
#[cfg(feature = "std")]
6470
pub use pemfile::{read_all, read_one};
6571
pub use pemfile::{read_one_from_slice, Error, Item};
@@ -71,12 +77,6 @@ use pki_types::{
7177
PrivatePkcs8KeyDer, PrivateSec1KeyDer, SubjectPublicKeyInfoDer,
7278
};
7379

74-
#[cfg(feature = "std")]
75-
use core::iter;
76-
/// --- Legacy APIs:
77-
#[cfg(feature = "std")]
78-
use std::io;
79-
8080
/// Return an iterator over certificates from `rd`.
8181
///
8282
/// Filters out any PEM sections that are not certificates and yields errors if a problem

0 commit comments

Comments
 (0)