Skip to content

Commit 6559d1a

Browse files
author
Jakob Gerstmayer
committed
ran cargo fmt
1 parent 4425650 commit 6559d1a

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

hal/src/aes.rs

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -777,15 +777,14 @@ impl Aes {
777777
Ok(())
778778
}
779779

780-
781780
/// Encrypt using the Cipher block chaining (CBC) algorithm.
782781
///
783782
/// # Panics
784783
///
785784
/// * Key is not 128-bits long `[u32; 4]` or 256-bits long `[u32; 8]`.
786785
///
787786
/// # Example
788-
///
787+
///
789788
/// ```no_run
790789
/// use stm32wlxx_hal::{aes::Aes, pac};
791790
///
@@ -838,7 +837,7 @@ impl Aes {
838837

839838
self.set_din(plaintext);
840839
self.poll_completion()?;
841-
self.dout(ciphertext);
840+
self.dout(ciphertext);
842841
Ok(())
843842
}
844843

0 commit comments

Comments
 (0)