summaryrefslogtreecommitdiffstats
path: root/core/src/window
diff options
context:
space:
mode:
authorLibravatar Héctor Ramón Jiménez <hector@hecrj.dev>2024-06-20 01:13:42 +0200
committerLibravatar Héctor Ramón Jiménez <hector@hecrj.dev>2024-06-20 01:13:42 +0200
commitc5f4bebeda8d6ef10efade7933a5ee58f06b62d1 (patch)
tree06bf997c68ec1e6d67bfc0c728553f31f8d23787 /core/src/window
parent92e08c8f07511cc212cbce545fb7739ef1a4bf1f (diff)
downloadiced-c5f4bebeda8d6ef10efade7933a5ee58f06b62d1.tar.gz
iced-c5f4bebeda8d6ef10efade7933a5ee58f06b62d1.tar.bz2
iced-c5f4bebeda8d6ef10efade7933a5ee58f06b62d1.zip
Remove `window::Id::MAIN` constant
Diffstat (limited to 'core/src/window')
-rw-r--r--core/src/window/id.rs3
1 files changed, 0 insertions, 3 deletions
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))