diff options
author | 2024-03-16 19:14:13 +0100 | |
---|---|---|
committer | 2024-03-16 19:14:13 +0100 | |
commit | 28a27f08edccd53e06ad693e63b0a62dae921da5 (patch) | |
tree | d2a2f51ebc9fddd38771abfbd567522396763468 /examples/geometry | |
parent | 0a24611ccdb9402f89c88fd5f567b9d26e3533c2 (diff) | |
download | iced-28a27f08edccd53e06ad693e63b0a62dae921da5.tar.gz iced-28a27f08edccd53e06ad693e63b0a62dae921da5.tar.bz2 iced-28a27f08edccd53e06ad693e63b0a62dae921da5.zip |
Remove `sandbox` by making `application` more generic :tada:
Diffstat (limited to 'examples/geometry')
-rw-r--r-- | examples/geometry/src/main.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/geometry/src/main.rs b/examples/geometry/src/main.rs index 52c10c33..63efcbdd 100644 --- a/examples/geometry/src/main.rs +++ b/examples/geometry/src/main.rs @@ -151,7 +151,7 @@ use iced::{Element, Length}; use rainbow::rainbow; pub fn main() -> iced::Result { - iced::run("Custom 2D Geometry - Iced", |_, _| {}, view) + iced::run("Custom 2D Geometry - Iced", |_: &mut _, _| {}, view) } fn view(_state: &()) -> Element<'_, ()> { |