Skip to content

Commit 4e3660b

Browse files
Erk-eldruin
andauthored
Apply suggestions from code review
Co-authored-by: Diego Barrios Romero <eldruin@gmail.com>
1 parent 62f66cb commit 4e3660b

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

src/linux.rs

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -40,9 +40,8 @@ pub enum LinuxI2CError {
4040
///
4141
/// To interpret this value [`nix::errno::from_i32`] should be used.
4242
///
43-
/// The [`Error`] implementation will return nor return a source
44-
/// for this variant. And similar will the [`Error`]
45-
/// implementation of `nix`'s error.
43+
/// The [`Error`] implementation will not return a source
44+
/// for this variant, like the [`Error`] implementation of the underlying `nix` error.
4645
///
4746
/// [`nix`]: https://docs.rs/nix/latest/nix/
4847
/// [`nix::errno::from_i32`]: https://docs.rs/nix/latest/nix/errno/fn.from_i32.html

0 commit comments

Comments
 (0)