Skip to content

Commit

Permalink
Remove outdated window::Id::MAIN reference in docs
Browse files Browse the repository at this point in the history
  • Loading branch information
hecrj committed Sep 18, 2024
1 parent 40ea3da commit f897442
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions core/src/window/id.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit f897442

Please sign in to comment.