GitHub Action and Encoding logic. #92
clippy
7 warnings
Details
Results
Message level | Amount |
---|---|
Internal compiler error | 0 |
Error | 0 |
Warning | 7 |
Note | 0 |
Help | 0 |
Versions
- rustc 1.75.0 (82e1608df 2023-12-21)
- cargo 1.75.0 (1d8b05cdd 2023-11-20)
- clippy 0.1.75 (82e1608 2023-12-21)
Annotations
Check warning on line 28 in src/encode.rs
github-actions / clippy
unused variable: `e`
warning: unused variable: `e`
--> src/encode.rs:28:13
|
28 | Err(e) => { Err(format!("{error_prefix}Not a valid base64 encoded string")) }
| ^ help: if this is intentional, prefix it with an underscore: `_e`
|
= note: `#[warn(unused_variables)]` on by default
Check warning on line 9 in src/encode.rs
github-actions / clippy
unused import: `ion_rs::types::Struct`
warning: unused import: `ion_rs::types::Struct`
--> src/encode.rs:9:5
|
9 | use ion_rs::types::Struct;
| ^^^^^^^^^^^^^^^^^^^^^
Check warning on line 8 in src/encode.rs
github-actions / clippy
unused import: `ion_rs::IonError::IoError`
warning: unused import: `ion_rs::IonError::IoError`
--> src/encode.rs:8:5
|
8 | use ion_rs::IonError::IoError;
| ^^^^^^^^^^^^^^^^^^^^^^^^^
Check warning on line 6 in src/encode.rs
github-actions / clippy
unused imports: `IonError`, `IonResult`
warning: unused imports: `IonError`, `IonResult`
--> src/encode.rs:6:26
|
6 | use ion_rs::{ion_struct, IonError, IonResult};
| ^^^^^^^^ ^^^^^^^^^
Check warning on line 4 in src/encode.rs
github-actions / clippy
unused import: `DecodeError`
warning: unused import: `DecodeError`
--> src/encode.rs:4:14
|
4 | use base64::{DecodeError, Engine};
| ^^^^^^^^^^^
Check warning on line 2 in src/encode.rs
github-actions / clippy
unused import: `std::io::ErrorKind`
warning: unused import: `std::io::ErrorKind`
--> src/encode.rs:2:5
|
2 | use std::io::ErrorKind;
| ^^^^^^^^^^^^^^^^^^
Check warning on line 1 in src/encode.rs
github-actions / clippy
unused imports: `Error`, `format`
warning: unused imports: `Error`, `format`
--> src/encode.rs:1:16
|
1 | use std::fmt::{Error, format};
| ^^^^^ ^^^^^^
|
= note: `#[warn(unused_imports)]` on by default