Skip to content

Commit

Permalink
apply nightly formatting
Browse files Browse the repository at this point in the history
Applies the results of:

```
cargo fmt --all -- --config-path .rustfmt.unstable.toml
```

We run this in a CI job that doesn't block when it fails, and so
a couple of import order reformats slipped through unformatted.
  • Loading branch information
cpu committed Jun 12, 2024
1 parent 4003752 commit f604642
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion provider-example/src/hpke.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@ use alloc::boxed::Box;
use alloc::sync::Arc;
use alloc::vec::Vec;
use core::fmt::Debug;
use hpke_rs_crypto::HpkeCrypto;
use std::error::Error as StdError;

use hpke_rs_crypto::types::{AeadAlgorithm, KdfAlgorithm, KemAlgorithm};
use hpke_rs_crypto::HpkeCrypto;
use hpke_rs_rust_crypto::HpkeRustCrypto;
use rustls::crypto::hpke::{
EncapsulatedSecret, Hpke, HpkeOpener, HpkePrivateKey, HpkePublicKey, HpkeSealer, HpkeSuite,
Expand Down
2 changes: 1 addition & 1 deletion rustls/src/client/client_conn.rs
Original file line number Diff line number Diff line change
Expand Up @@ -608,10 +608,10 @@ mod connection {
use core::ops::{Deref, DerefMut};
use std::io;

use crate::client::EchStatus;
use pki_types::ServerName;

use super::ClientConnectionData;
use crate::client::EchStatus;
use crate::common_state::Protocol;
use crate::conn::{ConnectionCommon, ConnectionCore};
use crate::error::Error;
Expand Down

0 comments on commit f604642

Please sign in to comment.