remove unused params and files #243
GitHub Actions / clippy
failed
Sep 20, 2024 in 0s
clippy
2 errors
Details
Results
Message level | Amount |
---|---|
Internal compiler error | 0 |
Error | 2 |
Warning | 0 |
Note | 0 |
Help | 0 |
Versions
- rustc 1.81.0 (eeb90cda1 2024-09-04)
- cargo 1.81.0 (2dbb1af80 2024-08-20)
- clippy 0.1.81 (eeb90cd 2024-09-04)
Annotations
Check failure on line 53 in web-app/src/lib.rs
github-actions / clippy
mismatched types
error[E0308]: mismatched types
--> web-app/src/lib.rs:53:19
|
53 | .map(|(quran, explanations, location_count)| JsEncodeResult {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
| |
| expected a tuple with 2 elements, found one with 3 elements
| expected due to this
|
= note: expected tuple `(std::string::String, std::vec::Vec<&str>)`
found tuple `(_, _, _)`
Check failure on line 39 in web-app/src/lib.rs
github-actions / clippy
this function takes 0 arguments but 1 argument was supplied
error[E0061]: this function takes 0 arguments but 1 argument was supplied
--> web-app/src/lib.rs:39:22
|
39 | _ => Quranize::new(min_harfs),
| ^^^^^^^^^^^^^ --------- unexpected argument of type `u16`
|
note: associated function defined here
--> /home/runner/work/quranize-rs/quranize-rs/quranize/src/quranize.rs:37:12
|
37 | pub fn new() -> Self {
| ^^^
help: remove the extra argument
|
39 - _ => Quranize::new(min_harfs),
39 + _ => Quranize::new(),
|
Loading