Revert "Propagate error from EventLoop creation" (#3010)

This reverts commit ed26dd58fd.
The patched was merged with a review by accident.
This commit is contained in:
Kirill Chibisov
2023-08-06 06:07:01 +04:00
parent 4ab36f336c
commit ef5b71d658
57 changed files with 291 additions and 344 deletions

View File

@@ -23,7 +23,7 @@ fn main() -> Result<(), impl std::error::Error> {
let icon = load_icon(Path::new(path));
let event_loop = EventLoop::new().unwrap();
let event_loop = EventLoop::new();
let window = WindowBuilder::new()
.with_title("An iconic window!")