Run format with nightly

This commit is contained in:
Rasmus Melchior Jacobsen
2023-05-24 13:11:03 +02:00
parent c6ffece410
commit 6df6239704
2 changed files with 9 additions and 11 deletions

View File

@ -8,8 +8,7 @@ use embassy_sync::mutex::Mutex;
use stm32_metapac::FLASH_BASE;
use super::{
family, Error, FlashLayout, FlashRegion, FLASH_SIZE, MAX_ERASE_SIZE, READ_SIZE,
WRITE_SIZE, FlashSector, FlashBank,
family, Error, FlashBank, FlashLayout, FlashRegion, FlashSector, FLASH_SIZE, MAX_ERASE_SIZE, READ_SIZE, WRITE_SIZE,
};
use crate::peripherals::FLASH;
use crate::Peripheral;
@ -162,7 +161,6 @@ pub(crate) fn ensure_sector_aligned(
Ok(())
}
impl embedded_storage::nor_flash::ErrorType for Flash<'_> {
type Error = Error;
}