Skip to content

Commit e59844c

Browse files
Dirbaioeldruin
authored andcommitted
async: remove "Async" prefix in trait names.
This is not needed if the traits are in a separate crate, and this way makes naming consistent with what `embedded-hal(-async)` does.
1 parent a1d39f5 commit e59844c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

embedded-storage-async/src/nor_flash.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
use embedded_storage::nor_flash::ErrorType;
22

33
/// Read only NOR flash trait.
4-
pub trait AsyncReadNorFlash: ErrorType {
4+
pub trait ReadNorFlash: ErrorType {
55
/// The minumum number of bytes the storage peripheral can read
66
const READ_SIZE: usize;
77

@@ -19,7 +19,7 @@ pub trait AsyncReadNorFlash: ErrorType {
1919
}
2020

2121
/// NOR flash trait.
22-
pub trait AsyncNorFlash: AsyncReadNorFlash {
22+
pub trait NorFlash: ReadNorFlash {
2323
/// The minumum number of bytes the storage peripheral can write
2424
const WRITE_SIZE: usize;
2525

0 commit comments

Comments
 (0)