diff --git a/examples/viewports/src/main.rs b/examples/viewports/src/main.rs index 394ecfebcac..3e1539792a5 100644 --- a/examples/viewports/src/main.rs +++ b/examples/viewports/src/main.rs @@ -409,6 +409,7 @@ fn generic_ui(ui: &mut egui::Ui, container_id: impl Into) { } } } + fn insert(&mut self, container: Id, col: usize, value: impl Into) { assert!(col <= COLS, "The coll should be less then: {COLS}");