Skip to content

Commit 7f4091f

Browse files
committed
Add PartialEq derive for BaudType in test builds
1 parent 2d1b991 commit 7f4091f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/uu/stty/src/flags.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ use nix::sys::termios::{
2828
};
2929

3030
#[derive(Debug)]
31+
#[cfg_attr(test, derive(PartialEq))]
3132
pub enum BaudType {
3233
Input,
3334
Output,

0 commit comments

Comments
 (0)