summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoseph Birr-Pixton <jpixton@gmail.com>2024-06-03 10:31:03 +0100
committerJoe Birr-Pixton <jpixton@gmail.com>2024-06-03 12:19:23 +0000
commit590716e478374ad8c268d5ad7ad9964ea9117bdc (patch)
tree3e27e9e106c66183689b307bf97c839675dcf405
parentde851b4601e0b34cd8a9ce443278982292f30baa (diff)
Fix unstable fmt job
-rw-r--r--rustls/src/crypto/aws_lc_rs/hpke.rs7
1 files changed, 3 insertions, 4 deletions
diff --git a/rustls/src/crypto/aws_lc_rs/hpke.rs b/rustls/src/crypto/aws_lc_rs/hpke.rs
index 6880e718..47b669e9 100644
--- a/rustls/src/crypto/aws_lc_rs/hpke.rs
+++ b/rustls/src/crypto/aws_lc_rs/hpke.rs
@@ -890,8 +890,7 @@ static RING_HKDF_HMAC_SHA512: &HkdfUsingHmac = &HkdfUsingHmac(&HMAC_SHA512);
#[cfg(test)]
mod tests {
- use alloc::format;
- use alloc::vec;
+ use alloc::{format, vec};
use super::*;
@@ -987,14 +986,14 @@ mod tests {
#[cfg(test)]
mod rfc_tests {
- use super::*;
-
use alloc::string::String;
use std::fs::File;
use std::println;
use serde::Deserialize;
+ use super::*;
+
/// Confirm open/seal operations work using the test vectors from [RFC 9180 Appendix A].
///
/// [RFC 9180 Appendix A]: https://www.rfc-editor.org/rfc/rfc9180#TestVectors