summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLibravatar Héctor Ramón Jiménez <hector@hecrj.dev>2023-10-27 05:19:35 +0200
committerLibravatar Héctor Ramón Jiménez <hector@hecrj.dev>2023-10-27 05:19:35 +0200
commit57f9024e89256ad3f99a3ab19bdc8524c1defa54 (patch)
treed082b884549cffd37adb78d4f779278fb155bee9
parente579d8553088c7d17784e7ff8f6e21360c2bd9ef (diff)
downloadiced-57f9024e89256ad3f99a3ab19bdc8524c1defa54.tar.gz
iced-57f9024e89256ad3f99a3ab19bdc8524c1defa54.tar.bz2
iced-57f9024e89256ad3f99a3ab19bdc8524c1defa54.zip
Fix intra-doc broken links
-rw-r--r--.cargo/config.toml2
-rw-r--r--core/src/text/editor.rs2
-rw-r--r--graphics/src/text/paragraph.rs2
3 files changed, 2 insertions, 4 deletions
diff --git a/.cargo/config.toml b/.cargo/config.toml
index 3e02dda8..85a46cda 100644
--- a/.cargo/config.toml
+++ b/.cargo/config.toml
@@ -17,8 +17,6 @@ clippy --workspace --no-deps -- \
-D clippy::useless_conversion
"""
-#![allow(clippy::inherent_to_string, clippy::type_complexity)]
-
nitpick = """
clippy --workspace --no-deps -- \
-D warnings \
diff --git a/core/src/text/editor.rs b/core/src/text/editor.rs
index ebb0eee2..f3c6e342 100644
--- a/core/src/text/editor.rs
+++ b/core/src/text/editor.rs
@@ -7,7 +7,7 @@ use std::sync::Arc;
/// A component that can be used by widgets to edit multi-line text.
pub trait Editor: Sized + Default {
- /// The [`Font`] of the [`Editor`].
+ /// The font of the [`Editor`].
type Font: Copy + PartialEq + Default;
/// Creates a new [`Editor`] laid out with the given text.
diff --git a/graphics/src/text/paragraph.rs b/graphics/src/text/paragraph.rs
index ccfe4a61..4a08a8f4 100644
--- a/graphics/src/text/paragraph.rs
+++ b/graphics/src/text/paragraph.rs
@@ -37,7 +37,7 @@ impl Paragraph {
/// Creates a [`Weak`] reference to the [`Paragraph`].
///
- /// This is useful to avoid cloning the [`Editor`] when
+ /// This is useful to avoid cloning the [`Paragraph`] when
/// referential guarantees are unnecessary. For instance,
/// when creating a rendering tree.
pub fn downgrade(&self) -> Weak {