Fix image preview in replies and threads #366
Open
Annotations
3 warnings
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/cache@v3, mozilla-actions/[email protected], giraffate/clippy-action@v1. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
Check Clippy:
src/message/mod.rs#L970
[clippy] reported by reviewdog 🐶
warning: unused variable: `x_off`
--> src/message/mod.rs:970:13
|
970 | let x_off = fmt.cols.user_gutter_width(settings);
| ^^^^^ help: if this is intentional, prefix it with an underscore: `_x_off`
|
= note: `#[warn(unused_variables)]` on by default
Raw Output:
src/message/mod.rs:970:13:w:warning: unused variable: `x_off`
--> src/message/mod.rs:970:13
|
970 | let x_off = fmt.cols.user_gutter_width(settings);
| ^^^^^ help: if this is intentional, prefix it with an underscore: `_x_off`
|
= note: `#[warn(unused_variables)]` on by default
__END__
|
Check Clippy:
src/message/mod.rs#L963
[clippy] reported by reviewdog 🐶
warning: very complex type used. Consider factoring parts into `type` definitions
--> src/message/mod.rs:963:10
|
963 | ) -> (Text<'a>, [Option<(&'a dyn Protocol, u16, u16)>; 2]) {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#type_complexity
= note: `#[warn(clippy::type_complexity)]` on by default
Raw Output:
src/message/mod.rs:963:10:w:warning: very complex type used. Consider factoring parts into `type` definitions
--> src/message/mod.rs:963:10
|
963 | ) -> (Text<'a>, [Option<(&'a dyn Protocol, u16, u16)>; 2]) {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#type_complexity
= note: `#[warn(clippy::type_complexity)]` on by default
__END__
|
Loading