chore: replace unmaintained github action #75
ci.yml
on: push
clippy_check
1m 35s
rustfmt
5s
Matrix: build
Waiting for pending jobs
Annotations
1 error and 2 warnings
Rust
Error when evaluating 'runs-on' for job 'build'. .github/workflows/ci.yml (Line: 18, Col: 14): Unexpected value ''
|
the borrowed expression implements the required traits:
src/main.rs#L347
warning: the borrowed expression implements the required traits
--> src/main.rs:347:39
|
347 | let f = BufReader::new(File::open(&path).unwrap());
| ^^^^^ 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
|
unneeded `return` statement:
src/main.rs#L38
warning: unneeded `return` statement
--> src/main.rs:38:9
|
38 | return "22".to_string();
| ^^^^^^^^^^^^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_return
= note: `#[warn(clippy::needless_return)]` on by default
help: remove `return`
|
38 - return "22".to_string();
38 + "22".to_string()
|
|