Remove generic parameter T from EventLoopWindowTarget (#3298)

This commit is contained in:
Mads Marquart
2024-01-13 21:36:53 +01:00
committed by GitHub
parent 169cd39f93
commit 22311802b5
37 changed files with 174 additions and 210 deletions

View File

@@ -152,8 +152,8 @@ macro_rules! leap {
impl UnownedWindow {
#[allow(clippy::unnecessary_cast)]
pub(crate) fn new<T>(
event_loop: &EventLoopWindowTarget<T>,
pub(crate) fn new(
event_loop: &EventLoopWindowTarget,
window_attrs: WindowAttributes,
pl_attribs: PlatformSpecificWindowBuilderAttributes,
) -> Result<UnownedWindow, RootOsError> {