Remove outdated window::Id::MAIN reference in docs
This commit is contained in:
parent
40ea3dabff
commit
f897442831
1 changed files with 1 additions and 3 deletions
|
|
@ -2,10 +2,8 @@ use std::hash::Hash;
|
||||||
|
|
||||||
use std::sync::atomic::{self, AtomicU64};
|
use std::sync::atomic::{self, AtomicU64};
|
||||||
|
|
||||||
#[derive(Debug, Clone, Copy, PartialEq, Eq, Hash, PartialOrd, Ord)]
|
|
||||||
/// The id of the window.
|
/// The id of the window.
|
||||||
///
|
#[derive(Debug, Clone, Copy, PartialEq, Eq, Hash, PartialOrd, Ord)]
|
||||||
/// Internally Iced reserves `window::Id::MAIN` for the first window spawned.
|
|
||||||
pub struct Id(u64);
|
pub struct Id(u64);
|
||||||
|
|
||||||
static COUNT: AtomicU64 = AtomicU64::new(1);
|
static COUNT: AtomicU64 = AtomicU64::new(1);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue