More formatting!
This commit is contained in:
parent
58edefff6e
commit
a345dd9e2b
@ -25,7 +25,6 @@ pub trait Spi<Word> {
|
|||||||
}
|
}
|
||||||
|
|
||||||
pub trait FullDuplex<Word>: Spi<Word> + Write<Word> + Read<Word> {
|
pub trait FullDuplex<Word>: Spi<Word> + Write<Word> + Read<Word> {
|
||||||
|
|
||||||
type WriteReadFuture<'a>: Future<Output = Result<(), Self::Error>> + 'a
|
type WriteReadFuture<'a>: Future<Output = Result<(), Self::Error>> + 'a
|
||||||
where
|
where
|
||||||
Self: 'a;
|
Self: 'a;
|
||||||
@ -38,7 +37,6 @@ pub trait FullDuplex<Word> : Spi<Word> + Write<Word> + Read<Word> {
|
|||||||
}
|
}
|
||||||
|
|
||||||
pub trait Write<Word>: Spi<Word> {
|
pub trait Write<Word>: Spi<Word> {
|
||||||
|
|
||||||
type WriteFuture<'a>: Future<Output = Result<(), Self::Error>> + 'a
|
type WriteFuture<'a>: Future<Output = Result<(), Self::Error>> + 'a
|
||||||
where
|
where
|
||||||
Self: 'a;
|
Self: 'a;
|
||||||
@ -47,7 +45,6 @@ pub trait Write<Word> : Spi<Word>{
|
|||||||
}
|
}
|
||||||
|
|
||||||
pub trait Read<Word>: Spi<Word> {
|
pub trait Read<Word>: Spi<Word> {
|
||||||
|
|
||||||
type ReadFuture<'a>: Future<Output = Result<(), Self::Error>> + 'a
|
type ReadFuture<'a>: Future<Output = Result<(), Self::Error>> + 'a
|
||||||
where
|
where
|
||||||
Self: 'a;
|
Self: 'a;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user