mirror of
https://github.com/rust-windowing/winit.git
synced 2026-08-30 13:20:06 -04:00
Update new builders for latest master
Signed-off-by: John Nunley <dev@notgull.net>
This commit is contained in:
@@ -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)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user