1
0
mirror of https://github.com/emilk/egui.git synced 2026-06-26 22:53:14 -04:00

eframe::Result is now short for eframe::Result<()> (#4706)

This commit is contained in:
Emil Ernerfeldt
2024-06-25 13:31:42 +02:00
committed by GitHub
parent 07735a6465
commit 10571e9da5
25 changed files with 33 additions and 36 deletions

View File

@@ -5,7 +5,7 @@ use eframe::egui;
use eframe::egui::{Rangef, Shape, UiKind};
use egui_extras::Column;
fn main() -> Result<(), eframe::Error> {
fn main() -> eframe::Result {
env_logger::init(); // Log to stderr (if you run with `RUST_LOG=debug`).
let options = eframe::NativeOptions {
viewport: egui::ViewportBuilder::default().with_inner_size([320.0, 240.0]),