summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--glow/src/lib.rs2
-rw-r--r--native/src/lib.rs2
-rw-r--r--native/src/user_interface.rs6
-rw-r--r--wgpu/src/lib.rs2
4 files changed, 9 insertions, 3 deletions
diff --git a/glow/src/lib.rs b/glow/src/lib.rs
index 7fde122c..362933d4 100644
--- a/glow/src/lib.rs
+++ b/glow/src/lib.rs
@@ -7,7 +7,7 @@
#![doc(
html_logo_url = "https://raw.githubusercontent.com/iced-rs/iced/9ab6923e943f784985e9ef9ca28b10278297225d/docs/logo.svg"
)]
-//#![deny(missing_docs)]
+#![deny(missing_docs)]
#![deny(missing_debug_implementations)]
#![deny(unused_results)]
#![forbid(rust_2018_idioms)]
diff --git a/native/src/lib.rs b/native/src/lib.rs
index c527a69a..a5526e6d 100644
--- a/native/src/lib.rs
+++ b/native/src/lib.rs
@@ -31,7 +31,7 @@
#![doc(
html_logo_url = "https://raw.githubusercontent.com/iced-rs/iced/9ab6923e943f784985e9ef9ca28b10278297225d/docs/logo.svg"
)]
-//#![deny(missing_docs)]
+#![deny(missing_docs)]
#![deny(missing_debug_implementations)]
#![deny(unused_results)]
#![forbid(unsafe_code)]
diff --git a/native/src/user_interface.rs b/native/src/user_interface.rs
index b6bed5ed..4b1194be 100644
--- a/native/src/user_interface.rs
+++ b/native/src/user_interface.rs
@@ -1,3 +1,4 @@
+//! Implement your own event loop to drive a user interface.
use crate::event::{self, Event};
use crate::layout;
use crate::mouse;
@@ -568,8 +569,13 @@ impl Default for Cache {
}
}
+/// The resulting state after updating a [`UserInterface`].
#[derive(Debug, Clone, Copy)]
pub enum State {
+ /// The [`UserInterface`] is outdated and needs to be rebuilt.
Outdated,
+
+ /// The [`UserInterface`] is up-to-date and can be reused without
+ /// rebuilding.
Updated,
}
diff --git a/wgpu/src/lib.rs b/wgpu/src/lib.rs
index 69763e66..fb03854b 100644
--- a/wgpu/src/lib.rs
+++ b/wgpu/src/lib.rs
@@ -23,7 +23,7 @@
#![doc(
html_logo_url = "https://raw.githubusercontent.com/iced-rs/iced/9ab6923e943f784985e9ef9ca28b10278297225d/docs/logo.svg"
)]
-//#![deny(missing_docs)]
+#![deny(missing_docs)]
#![deny(missing_debug_implementations)]
#![deny(unused_results)]
#![deny(unsafe_code)]