Format and lint
This commit is contained in:
parent
42ee2d4c51
commit
04a78e7bfe
75 changed files with 1290 additions and 719 deletions
|
|
@ -8,12 +8,12 @@ use crate::data::{Histogram, PropertyData};
|
|||
use crate::features::{ENUM_FEATURE_GROUPS, FEATURE_GROUPS};
|
||||
use crate::state::AppState;
|
||||
|
||||
fn is_empty(v: &str) -> bool {
|
||||
v.is_empty()
|
||||
fn is_empty(val: &str) -> bool {
|
||||
val.is_empty()
|
||||
}
|
||||
|
||||
fn is_false(v: &bool) -> bool {
|
||||
!v
|
||||
fn is_false(val: &bool) -> bool {
|
||||
!val
|
||||
}
|
||||
|
||||
#[derive(Clone, Serialize)]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue