Skip to content

Commit

Permalink
Fix intra-doc broken links
Browse files Browse the repository at this point in the history
  • Loading branch information
hecrj committed Oct 27, 2023
1 parent e579d85 commit 57f9024
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 4 deletions.
2 changes: 0 additions & 2 deletions .cargo/config.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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 \
Expand Down
2 changes: 1 addition & 1 deletion core/src/text/editor.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
2 changes: 1 addition & 1 deletion graphics/src/text/paragraph.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 57f9024

Please sign in to comment.