-
Notifications
You must be signed in to change notification settings - Fork 2
Open
Labels
bugSomething isn't workingSomething isn't workinggood first issueGood for newcomersGood for newcomers
Description
[WARNINGS] Solve warnings that appears during compilation
The Warnings
During compilation process, rust compiler generated 2 warnings as follows:
warning: unused variable: `res`
--> src/run_codes/mod.rs:102:6
|
102 | let res = client
| ^^^ help: if this is intentional, prefix it with an underscore: `_res`
|
= note: `#[warn(unused_variables)]` on by default
warning: associated function `read_credentials_locally` is never used
--> src/utils/mod.rs:85:9
|
85 | pub fn read_credentials_locally(project: Project) -> Option<UserCredentials> {
| ^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: `#[warn(dead_code)]` on by default
warning: `run-cli` (bin "run-cli") generated 2 warnings
Sugestion
Erase line 102
let res = clientAdd macro to ignore unused function
pub fn read_credentials_locally(project: Project) -> Option<UserCredentials>Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workinggood first issueGood for newcomersGood for newcomers