Skip to content

Commit

Permalink
NoDisplayHandle is unused by some backends
Browse files Browse the repository at this point in the history
  • Loading branch information
daxpedda committed Jul 31, 2024
1 parent a9f82e6 commit eecc7db
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -261,6 +261,7 @@ impl<'a, D: HasDisplayHandle, W: HasWindowHandle> ops::DerefMut for Buffer<'a, D

/// There is no display handle.
#[derive(Debug)]
#[allow(dead_code)]
pub struct NoDisplayHandle(core::convert::Infallible);

impl HasDisplayHandle for NoDisplayHandle {
Expand Down

0 comments on commit eecc7db

Please sign in to comment.