diff options
author | 2023-09-09 21:16:55 +0200 | |
---|---|---|
committer | 2023-09-09 21:16:55 +0200 | |
commit | e3aa8f71e6d27135ddc3bddf2a141fe42375b3f9 (patch) | |
tree | 2fd3b5f27ff4ac185a105ddce1a8f26b1b5b276b /wgpu | |
parent | 89d9c45d25e9bf89e48858b135bc7a2d41c757a8 (diff) | |
parent | 419d9374b79b39293ba9a17967c2356d29377d8f (diff) | |
download | iced-e3aa8f71e6d27135ddc3bddf2a141fe42375b3f9.tar.gz iced-e3aa8f71e6d27135ddc3bddf2a141fe42375b3f9.tar.bz2 iced-e3aa8f71e6d27135ddc3bddf2a141fe42375b3f9.zip |
Merge pull request #2077 from matze/fix-doc-links
Fix majority of unresolved documentation links
Diffstat (limited to '')
-rw-r--r-- | wgpu/src/geometry.rs | 4 | ||||
-rw-r--r-- | wgpu/src/lib.rs | 5 |
2 files changed, 4 insertions, 5 deletions
diff --git a/wgpu/src/geometry.rs b/wgpu/src/geometry.rs index c3e16f8c..63a59c05 100644 --- a/wgpu/src/geometry.rs +++ b/wgpu/src/geometry.rs @@ -310,13 +310,11 @@ impl Frame { /// resulting glyphs will not be rotated or scaled properly. /// /// Additionally, all text will be rendered on top of all the layers of - /// a [`Canvas`]. Therefore, it is currently only meant to be used for + /// a `Canvas`. Therefore, it is currently only meant to be used for /// overlays, which is the most common use case. /// /// Support for vectorial text is planned, and should address all these /// limitations. - /// - /// [`Canvas`]: crate::widget::Canvas pub fn fill_text(&mut self, text: impl Into<Text>) { let text = text.into(); diff --git a/wgpu/src/lib.rs b/wgpu/src/lib.rs index d1e4b7af..b9f54560 100644 --- a/wgpu/src/lib.rs +++ b/wgpu/src/lib.rs @@ -20,6 +20,7 @@ #![doc( html_logo_url = "https://raw.githubusercontent.com/iced-rs/iced/9ab6923e943f784985e9ef9ca28b10278297225d/docs/logo.svg" )] +#![forbid(rust_2018_idioms)] #![deny( missing_debug_implementations, missing_docs, @@ -29,9 +30,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)] #![allow(clippy::inherent_to_string, clippy::type_complexity)] #![cfg_attr(docsrs, feature(doc_auto_cfg))] pub mod layer; |