diff options
author | 2024-09-18 03:12:49 +0200 | |
---|---|---|
committer | 2024-09-18 03:12:49 +0200 | |
commit | f89744283167a1961fcff512ad48b0eb9b8fcaef (patch) | |
tree | d41a601f9ba217344b60d109107c79f69b0c12f6 | |
parent | 40ea3dabff991843396d4703d485169d0dd90845 (diff) | |
download | iced-f89744283167a1961fcff512ad48b0eb9b8fcaef.tar.gz iced-f89744283167a1961fcff512ad48b0eb9b8fcaef.tar.bz2 iced-f89744283167a1961fcff512ad48b0eb9b8fcaef.zip |
Remove outdated `window::Id::MAIN` reference in docs
-rw-r--r-- | core/src/window/id.rs | 4 |
1 files changed, 1 insertions, 3 deletions
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); |