Skip to content

Commit e5fa5cd

Browse files
authored
NoDisplayHandle is unused by some backends (#231)
1 parent a9f82e6 commit e5fa5cd

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/lib.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -261,6 +261,7 @@ impl<'a, D: HasDisplayHandle, W: HasWindowHandle> ops::DerefMut for Buffer<'a, D
261261

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

266267
impl HasDisplayHandle for NoDisplayHandle {

0 commit comments

Comments
 (0)