Skip to content

Commit

Permalink
style: fix formatting
Browse files Browse the repository at this point in the history
Signed-off-by: Richard Zak <[email protected]>
  • Loading branch information
rjzak committed Feb 17, 2024
1 parent c19bf22 commit 779edb4
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions ciborium-io/src/eio.rs
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,8 @@ impl<'a, W> EIOWriter<'a, W> {
}

impl<'a, W> Write for EIOWriter<'a, W>
where W: embedded_io::Write
where
W: embedded_io::Write,
{
type Error = W::Error;

Expand All @@ -24,7 +25,6 @@ where W: embedded_io::Write
}
}


/// Wrapper around R: embedded_io::Read implementing ciborium::Read
pub struct EIOReader<'a, R>(&'a mut R);

Expand All @@ -36,7 +36,8 @@ impl<'a, R> EIOReader<'a, R> {
}

impl<'a, R> Read for EIOReader<'a, R>
where R: embedded_io::Read
where
R: embedded_io::Read,
{
type Error = embedded_io::ReadExactError<R::Error>;

Expand Down

0 comments on commit 779edb4

Please sign in to comment.