From f89744283167a1961fcff512ad48b0eb9b8fcaef Mon Sep 17 00:00:00 2001 From: Héctor Ramón Jiménez Date: Wed, 18 Sep 2024 03:12:49 +0200 Subject: Remove outdated `window::Id::MAIN` reference in docs --- core/src/window/id.rs | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'core/src') diff --git a/core/src/window/id.rs b/core/src/window/id.rs index 31ea92f3..1a75fa27 100644 --- a/core/src/window/id.rs +++ b/core/src/window/id.rs @@ -2,10 +2,8 @@ use std::hash::Hash; use std::sync::atomic::{self, AtomicU64}; -#[derive(Debug, Clone, Copy, PartialEq, Eq, Hash, PartialOrd, Ord)] /// The id of the window. -/// -/// Internally Iced reserves `window::Id::MAIN` for the first window spawned. +#[derive(Debug, Clone, Copy, PartialEq, Eq, Hash, PartialOrd, Ord)] pub struct Id(u64); static COUNT: AtomicU64 = AtomicU64::new(1); -- cgit