Skip to content

Commit

Permalink
docs: fix documentation lint warnings (#450)
Browse files Browse the repository at this point in the history
  • Loading branch information
Valentin271 authored Aug 30, 2023
1 parent 28e7fd4 commit 927a5d8
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/backend/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ pub struct WindowSize {
/// Size in pixel width,height.
///
/// The `pixels` fields may not be implemented by all terminals and return `0,0`.
/// See https://man7.org/linux/man-pages/man4/tty_ioctl.4.html under section
/// See <https://man7.org/linux/man-pages/man4/tty_ioctl.4.html> under section
/// "Get and set window size" / TIOCGWINSZ where the fields are commented as "unused".
pub pixels: Size,
}
Expand Down
2 changes: 1 addition & 1 deletion src/style.rs
Original file line number Diff line number Diff line change
Expand Up @@ -440,7 +440,7 @@ impl std::error::Error for ParseColorError {}
/// `Color` variant. It supports named colors, RGB values, and indexed colors. If the string cannot
/// be parsed, a `ParseColorError` is returned.
///
/// See the [`Color`](Color) documentation for more information on the supported color names.
/// See the [`Color`] documentation for more information on the supported color names.
///
/// # Examples
///
Expand Down
2 changes: 1 addition & 1 deletion src/widgets/calendar.rs
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ impl<'a, S: DateStyler> Monthly<'a, S> {
self
}

/// Render the calendar within a [Block](crate::widgets::Block)
/// Render the calendar within a [Block]
pub fn block(mut self, b: Block<'a>) -> Self {
self.block = Some(b);
self
Expand Down

0 comments on commit 927a5d8

Please sign in to comment.