mirror of
https://github.com/emilk/egui.git
synced 2026-06-28 07:23:13 -04:00
eframe::Result is now short for eframe::Result<()> (#4706)
This commit is contained in:
@@ -5,7 +5,7 @@
|
||||
use eframe::egui::{self, DragValue, Event, Vec2};
|
||||
use egui_plot::{Legend, Line, PlotPoints};
|
||||
|
||||
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::default();
|
||||
eframe::run_native(
|
||||
|
||||
Reference in New Issue
Block a user