Skip to content

Commit

Permalink
Add clippy warning.
Browse files Browse the repository at this point in the history
  • Loading branch information
aterentic-ethernal committed Jul 25, 2023
1 parent 59450c9 commit e466987
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/consts.rs
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,5 @@ pub const APP_DATA_CF: &str = "avail_light_app_data_cf";

/// Column family for state
pub const STATE_CF: &str = "avail_light_state_cf";

const TEST: &str = "test";

Check warning on line 15 in src/consts.rs

View workflow job for this annotation

GitHub Actions / build_and_test

constant `TEST` is never used

Check warning on line 15 in src/consts.rs

View workflow job for this annotation

GitHub Actions / clippy

constant `TEST` is never used

warning: constant `TEST` is never used --> src/consts.rs:15:7 | 15 | const TEST: &str = "test"; | ^^^^ | = note: `#[warn(dead_code)]` on by default

Check warning on line 15 in src/consts.rs

View workflow job for this annotation

GitHub Actions / clippy

constant `TEST` is never used

warning: constant `TEST` is never used --> src/consts.rs:15:7 | 15 | const TEST: &str = "test"; | ^^^^ | = note: `#[warn(dead_code)]` on by default

0 comments on commit e466987

Please sign in to comment.