diff --git a/rpn_rs_gui/src/app.rs b/rpn_rs_gui/src/app.rs index 06d1b0b..db417d8 100644 --- a/rpn_rs_gui/src/app.rs +++ b/rpn_rs_gui/src/app.rs @@ -14,9 +14,6 @@ const BUTTON_PADDING: Vec2 = Vec2 { x: 24.0, y: 5.0 }; pub struct TemplateApp { calculator: Calculator, - // Example stuff: - label: String, - #[serde(skip)] latest_error: Option, @@ -28,8 +25,6 @@ impl Default for TemplateApp { fn default() -> Self { Self { calculator: Calculator::default(), - // Example stuff: - label: "Hello World!".to_owned(), latest_error: None, error_state: ErrorState::default(), } @@ -135,7 +130,7 @@ impl eframe::App for TemplateApp { /// Called each time the UI needs repainting, which may be many times per second. /// Put your widgets into a `SidePanel`, `TopPanel`, `CentralPanel`, `Window` or `Area`. fn update(&mut self, ctx: &egui::Context, _frame: &mut eframe::Frame) { - let Self { label, .. } = self; + let Self { .. } = self; // Examples of how to create different panels and windows. // Pick whichever suits you.