Skip to content

Commit

Permalink
Fix unnecessary qualification in x11rb
Browse files Browse the repository at this point in the history
Signed-off-by: Uli Schlachter <[email protected]>
  • Loading branch information
psychon committed Mar 17, 2024
1 parent f504223 commit de5ad7e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions x11rb/src/properties.rs
Original file line number Diff line number Diff line change
Expand Up @@ -570,8 +570,8 @@ impl WmHints {
conn,
xproto::PropMode::REPLACE,
window,
xproto::AtomEnum::WM_HINTS,
xproto::AtomEnum::WM_HINTS,
AtomEnum::WM_HINTS,
AtomEnum::WM_HINTS,
32,
NUM_WM_HINTS_ELEMENTS,
&data,
Expand Down
2 changes: 1 addition & 1 deletion x11rb/src/rust_connection/packet_reader.rs
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ impl PacketReader {
out_packets.push(packet);
}
}
Err(ref e) if e.kind() == io::ErrorKind::WouldBlock => break,
Err(ref e) if e.kind() == ErrorKind::WouldBlock => break,
Err(e) => return Err(e),
}
} else {
Expand Down

0 comments on commit de5ad7e

Please sign in to comment.