summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/sys/termios.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sys/termios.rs b/src/sys/termios.rs
index e27cee40..b768caa8 100644
--- a/src/sys/termios.rs
+++ b/src/sys/termios.rs
@@ -349,7 +349,7 @@ impl From<libc::speed_t> for BaudRate {
B3500000 => BaudRate::B3500000,
#[cfg(any(target_os = "android", target_os = "linux"))]
B4000000 => BaudRate::B4000000,
- b @ _ => unreachable!("Invalid baud constant: {}", b),
+ b => unreachable!("Invalid baud constant: {}", b),
}
}
}