summaryrefslogtreecommitdiffstats
path: root/src/lib.rs
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/lib.rs11
1 files changed, 6 insertions, 5 deletions
diff --git a/src/lib.rs b/src/lib.rs
index 91c78423..3cbe716a 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -151,6 +151,7 @@
#![doc(
html_logo_url = "https://raw.githubusercontent.com/iced-rs/iced/9ab6923e943f784985e9ef9ca28b10278297225d/docs/logo.svg"
)]
+#![forbid(rust_2018_idioms, unsafe_code)]
#![deny(
missing_debug_implementations,
missing_docs,
@@ -159,9 +160,9 @@
clippy::from_over_into,
clippy::needless_borrow,
clippy::new_without_default,
- clippy::useless_conversion
+ clippy::useless_conversion,
+ rustdoc::broken_intra_doc_links
)]
-#![forbid(rust_2018_idioms, unsafe_code)]
#![allow(clippy::inherent_to_string, clippy::type_complexity)]
#![cfg_attr(docsrs, feature(doc_auto_cfg))]
use iced_widget::graphics;
@@ -258,11 +259,11 @@ pub mod system {
pub mod overlay {
//! Display interactive elements on top of other widgets.
- /// A generic [`Overlay`].
+ /// A generic overlay.
///
- /// This is an alias of an `iced_native` element with a default `Renderer`.
+ /// This is an alias of an [`overlay::Element`] with a default `Renderer`.
///
- /// [`Overlay`]: iced_native::Overlay
+ /// [`overlay::Element`]: crate::core::overlay::Element
pub type Element<'a, Message, Renderer = crate::Renderer> =
crate::core::overlay::Element<'a, Message, Renderer>;