summaryrefslogtreecommitdiffstats
path: root/examples/solar_system/src/main.rs
diff options
context:
space:
mode:
authorLibravatar Héctor Ramón <hector0193@gmail.com>2021-12-07 16:29:38 +0700
committerLibravatar GitHub <noreply@github.com>2021-12-07 16:29:38 +0700
commit6f3a608717e08330187871516b1ab54a9a2192a3 (patch)
tree23df8c8b42be96940ca7861f4481ccc90c04813b /examples/solar_system/src/main.rs
parent3f5ec5b20a48aebd6bd3e22506b01a08feaccdfc (diff)
parentfa9fb65ace74af869513db92e86c64f90f500f59 (diff)
downloadiced-6f3a608717e08330187871516b1ab54a9a2192a3.tar.gz
iced-6f3a608717e08330187871516b1ab54a9a2192a3.tar.bz2
iced-6f3a608717e08330187871516b1ab54a9a2192a3.zip
Merge pull request #1142 from iced-rs/fix/unused-lints
Remove unused fields
Diffstat (limited to 'examples/solar_system/src/main.rs')
-rw-r--r--examples/solar_system/src/main.rs2
1 files changed, 0 insertions, 2 deletions
diff --git a/examples/solar_system/src/main.rs b/examples/solar_system/src/main.rs
index c8f74978..5f9724f3 100644
--- a/examples/solar_system/src/main.rs
+++ b/examples/solar_system/src/main.rs
@@ -75,7 +75,6 @@ impl Application for SolarSystem {
struct State {
space_cache: canvas::Cache,
system_cache: canvas::Cache,
- cursor_position: Point,
start: Instant,
now: Instant,
stars: Vec<(Point, f32)>,
@@ -95,7 +94,6 @@ impl State {
State {
space_cache: Default::default(),
system_cache: Default::default(),
- cursor_position: Point::ORIGIN,
start: now,
now,
stars: Self::generate_stars(width, height),