Fix intra-doc broken links
This commit is contained in:
parent
e579d85530
commit
57f9024e89
3 changed files with 2 additions and 4 deletions
|
|
@ -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 \
|
||||
|
|
|
|||
|
|
@ -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.
|
||||
|
|
|
|||
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue