Skip to content

Commit 6613901

Browse files
committed
Elide unnecessary lifetime
1 parent 5470d8f commit 6613901

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/linux.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -389,7 +389,7 @@ impl<'a> I2CMessage<'a> for LinuxI2CMessage<'a> {
389389
}
390390
}
391391

392-
impl<'a> LinuxI2CMessage<'a> {
392+
impl LinuxI2CMessage<'_> {
393393
/// Set the target device address for the message
394394
pub fn with_address(self, slave_address: u16) -> Self {
395395
Self {

0 commit comments

Comments
 (0)