Fix intra-doc broken links

This commit is contained in:
Héctor Ramón Jiménez 2023-10-27 05:19:35 +02:00
parent e579d85530
commit 57f9024e89
No known key found for this signature in database
GPG key ID: 7CC46565708259A7
3 changed files with 2 additions and 4 deletions

View file

@ -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 \

View file

@ -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.

View file

@ -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 {