Remove outdated window::Id::MAIN reference in docs

This commit is contained in:
Héctor Ramón Jiménez 2024-09-18 03:12:49 +02:00
parent 40ea3dabff
commit f897442831
No known key found for this signature in database
GPG key ID: 7CC46565708259A7

View file

@ -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);