mirror of
https://github.com/emilk/egui.git
synced 2026-08-31 13:50:04 -04:00
eframe::Result is now short for eframe::Result<()> (#4706)
This commit is contained in:
@@ -6,7 +6,7 @@ use egui::{Button, CentralPanel, Context, UserAttentionType};
|
||||
|
||||
use std::time::{Duration, SystemTime};
|
||||
|
||||
fn main() -> eframe::Result<()> {
|
||||
fn main() -> eframe::Result {
|
||||
env_logger::init(); // Log to stderr (if you run with `RUST_LOG=debug`).
|
||||
let native_options = NativeOptions {
|
||||
viewport: egui::ViewportBuilder::default().with_inner_size([400., 200.]),
|
||||
|
||||
Reference in New Issue
Block a user