From c5f4bebeda8d6ef10efade7933a5ee58f06b62d1 Mon Sep 17 00:00:00 2001 From: Héctor Ramón Jiménez Date: Thu, 20 Jun 2024 01:13:42 +0200 Subject: Remove `window::Id::MAIN` constant --- core/src/window/id.rs | 3 --- 1 file changed, 3 deletions(-) (limited to 'core/src/window') diff --git a/core/src/window/id.rs b/core/src/window/id.rs index 20474c8f..31ea92f3 100644 --- a/core/src/window/id.rs +++ b/core/src/window/id.rs @@ -11,9 +11,6 @@ pub struct Id(u64); static COUNT: AtomicU64 = AtomicU64::new(1); impl Id { - /// The reserved window [`Id`] for the first window in an Iced application. - pub const MAIN: Self = Id(0); - /// Creates a new unique window [`Id`]. pub fn unique() -> Id { Id(COUNT.fetch_add(1, atomic::Ordering::Relaxed)) -- cgit