Skip to content

chore(deps): bump ratatui from 0.26.1 to 0.26.2 #17

chore(deps): bump ratatui from 0.26.1 to 0.26.2

chore(deps): bump ratatui from 0.26.1 to 0.26.2 #17

Triggered via pull request April 15, 2024 15:23
Status Success
Total duration 44s
Artifacts

check.yml

on: pull_request
check  /  ...  /  fmt
18s
check / stable / fmt
check  /  ...  /  doc
25s
check / nightly / doc
check  /  ...  /  check
27s
check / 1.76.0 / check
Matrix: check / clippy
Fit to window
Zoom out
Zoom in

Annotations

10 warnings
the following explicit lifetimes could be elided: 'a: tui-markdown/src/lib.rs#L14
warning: the following explicit lifetimes could be elided: 'a --> tui-markdown/src/lib.rs:14:17 | 14 | pub fn from_str<'a>(input: &'a str) -> Text<'a> { | ^^ ^^ ^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes = note: `#[warn(clippy::needless_lifetimes)]` on by default help: elide the lifetimes | 14 - pub fn from_str<'a>(input: &'a str) -> Text<'a> { 14 + pub fn from_str(input: &str) -> Text<'_> { |
casting to the same type is unnecessary (`usize` -> `usize`): markdown-reader/src/app.rs#L134
warning: casting to the same type is unnecessary (`usize` -> `usize`) --> markdown-reader/src/app.rs:134:29 | 134 | ScrollbarState::new(state.max.saturating_sub(state.view_size) as usize) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `state.max.saturating_sub(state.view_size)` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_cast = note: `#[warn(clippy::unnecessary_cast)]` on by default
casting to the same type is unnecessary (`usize` -> `usize`): markdown-reader/src/app.rs#L135
warning: casting to the same type is unnecessary (`usize` -> `usize`) --> markdown-reader/src/app.rs:135:23 | 135 | .position(state.position as usize) | ^^^^^^^^^^^^^^^^^^^^^^^ help: try: `state.position` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_cast
casting to the same type is unnecessary (`usize` -> `usize`): markdown-reader/src/app.rs#L141
warning: casting to the same type is unnecessary (`usize` -> `usize`) --> markdown-reader/src/app.rs:141:49 | 141 | ListState::default().with_selected(Some(state.position as usize)) | ^^^^^^^^^^^^^^^^^^^^^^^ help: try: `state.position` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_cast
the borrowed expression implements the required traits: markdown-reader/src/main.rs#L43
warning: the borrowed expression implements the required traits --> markdown-reader/src/main.rs:43:28 | 43 | let input = File::open(&path).wrap_err_with(|| eyre!("Could not open {:?}", path))?; | ^^^^^ help: change this to: `path` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args = note: `#[warn(clippy::needless_borrows_for_generic_args)]` on by default
the following explicit lifetimes could be elided: 'a: tui-markdown/src/lib.rs#L14
warning: the following explicit lifetimes could be elided: 'a --> tui-markdown/src/lib.rs:14:17 | 14 | pub fn from_str<'a>(input: &'a str) -> Text<'a> { | ^^ ^^ ^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes = note: `#[warn(clippy::needless_lifetimes)]` on by default help: elide the lifetimes | 14 - pub fn from_str<'a>(input: &'a str) -> Text<'a> { 14 + pub fn from_str(input: &str) -> Text<'_> { |
casting to the same type is unnecessary (`usize` -> `usize`): markdown-reader/src/app.rs#L134
warning: casting to the same type is unnecessary (`usize` -> `usize`) --> markdown-reader/src/app.rs:134:29 | 134 | ScrollbarState::new(state.max.saturating_sub(state.view_size) as usize) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `state.max.saturating_sub(state.view_size)` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_cast = note: `#[warn(clippy::unnecessary_cast)]` on by default
casting to the same type is unnecessary (`usize` -> `usize`): markdown-reader/src/app.rs#L135
warning: casting to the same type is unnecessary (`usize` -> `usize`) --> markdown-reader/src/app.rs:135:23 | 135 | .position(state.position as usize) | ^^^^^^^^^^^^^^^^^^^^^^^ help: try: `state.position` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_cast
casting to the same type is unnecessary (`usize` -> `usize`): markdown-reader/src/app.rs#L141
warning: casting to the same type is unnecessary (`usize` -> `usize`) --> markdown-reader/src/app.rs:141:49 | 141 | ListState::default().with_selected(Some(state.position as usize)) | ^^^^^^^^^^^^^^^^^^^^^^^ help: try: `state.position` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_cast
the borrowed expression implements the required traits: markdown-reader/src/main.rs#L43
warning: the borrowed expression implements the required traits --> markdown-reader/src/main.rs:43:28 | 43 | let input = File::open(&path).wrap_err_with(|| eyre!("Could not open {:?}", path))?; | ^^^^^ help: change this to: `path` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args = note: `#[warn(clippy::needless_borrows_for_generic_args)]` on by default