mirror of
https://github.com/ratatui-org/ratatui
synced 2025-02-16 14:08:44 +00:00
docs: fix documentation lint warnings (#450)
This commit is contained in:
parent
28e7fd4bc5
commit
927a5d8251
3 changed files with 3 additions and 3 deletions
|
@ -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,
|
||||
}
|
||||
|
|
|
@ -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
|
||||
///
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue