docs: fix documentation lint warnings (#450)

This commit is contained in:
Valentin271 2023-08-30 12:01:42 +02:00 committed by GitHub
parent 28e7fd4bc5
commit 927a5d8251
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 3 additions and 3 deletions

View file

@ -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,
}

View file

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

View file

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