Reworking bssl_crypto: imports_granularity = "Crate"
This is mostly what was used already, but not uniformly. This change
is exactly the result of running `cargo fmt` with the included
.rustfmt.toml.
Change-Id: Ib85687edffeecfb64938f556e54beb263f0b1d13
Reviewed-on: https://boringssl-review.googlesource.com/c/boringssl/+/65169
Reviewed-by: Bob Beck <bbe@google.com>
Commit-Queue: Adam Langley <agl@google.com>
diff --git a/rust/bssl-crypto/src/aes.rs b/rust/bssl-crypto/src/aes.rs
index e5a1607..0900420 100644
--- a/rust/bssl-crypto/src/aes.rs
+++ b/rust/bssl-crypto/src/aes.rs
@@ -122,8 +122,10 @@
#[cfg(test)]
mod tests {
- use crate::aes::{Aes, AesDecryptKey, AesEncryptKey};
- use crate::test_helpers::decode_hex;
+ use crate::{
+ aes::{Aes, AesDecryptKey, AesEncryptKey},
+ test_helpers::decode_hex,
+ };
// test data from https://nvlpubs.nist.gov/nistpubs/Legacy/SP/nistspecialpublication800-38a.pdf F.1.1
#[test]