Rename --view to --pager #141
Annotations
1 error and 5 warnings
use of `format!` to build up a string from an iterator:
src/http.rs#L50
error: use of `format!` to build up a string from an iterator
--> src/http.rs:50:17
|
50 | let brief = brief.lines()
| _________________^
51 | | .skip(2)
52 | | .take(num_lines - 4)
53 | | .map(|l| format!("{}\n", l))
54 | | .collect::<String>()
| |____________________________^
|
help: call `fold` instead
--> src/http.rs:53:10
|
53 | .map(|l| format!("{}\n", l))
| ^^^
help: ... and use the `write!` macro here
--> src/http.rs:53:18
|
53 | .map(|l| format!("{}\n", l))
| ^^^^^^^^^^^^^^^^^^
= note: this can be written more efficiently by appending to a `String` directly
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#format_collect
= note: `-D clippy::format-collect` implied by `-D warnings`
= help: to override `-D warnings` add `#[allow(clippy::format_collect)]`
|
build
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions-rs/toolchain@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
build
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
build
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
build
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
build
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|