Update new builders for latest master

Signed-off-by: John Nunley <dev@notgull.net>
This commit is contained in:
John Nunley 2024-01-27 10:10:28 -08:00 committed by John Nunley
parent 8862ce0163
commit 3830b492c4
8 changed files with 9 additions and 12 deletions

View file

@ -566,7 +566,7 @@ impl Window {
///
/// [`Window::builder().build(event_loop)`]: WindowBuilder::build
#[inline]
pub fn new<T: 'static>(event_loop: &EventLoopWindowTarget<T>) -> Result<Window, OsError> {
pub fn new(event_loop: &EventLoopWindowTarget) -> Result<Window, OsError> {
Window::builder().build(event_loop)
}