We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dcc96a7 commit 236e2baCopy full SHA for 236e2ba
src/window.rs
@@ -1336,14 +1336,14 @@ impl std::hash::Hash for dyn Window + '_ {
1336
}
1337
1338
#[cfg(feature = "rwh_06")]
1339
-impl rwh_06::HasDisplayHandle for dyn Window + '_ {
+impl rwh_06::HasDisplayHandle for dyn Surface + '_ {
1340
fn display_handle(&self) -> Result<rwh_06::DisplayHandle<'_>, rwh_06::HandleError> {
1341
self.rwh_06_display_handle().display_handle()
1342
1343
1344
1345
1346
-impl rwh_06::HasWindowHandle for dyn Window + '_ {
+impl rwh_06::HasWindowHandle for dyn Surface + '_ {
1347
fn window_handle(&self) -> Result<rwh_06::WindowHandle<'_>, rwh_06::HandleError> {
1348
self.rwh_06_window_handle().window_handle()
1349
0 commit comments