Skip to content

Commit 5e871a8

Browse files
authored
Merge pull request #38 from rmja/patch-1
Remove sync ErrorType implementation for &mut
2 parents f5a2565 + d2c6dac commit 5e871a8

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

embedded-storage-async/src/nor_flash.rs

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -49,10 +49,6 @@ pub trait NorFlash: ReadNorFlash {
4949
async fn write(&mut self, offset: u32, bytes: &[u8]) -> Result<(), Self::Error>;
5050
}
5151

52-
impl<T: ErrorType> ErrorType for &mut T {
53-
type Error = T::Error;
54-
}
55-
5652
impl<T: ReadNorFlash> ReadNorFlash for &mut T {
5753
const READ_SIZE: usize = T::READ_SIZE;
5854

0 commit comments

Comments
 (0)