difftreelog
style fix clippy lints
in: master
1 file changed
crates/jrsonnet-evaluator/src/val.rsdiffbeforeafterboth177 Func,177 Func,178}178}179impl ValType {179impl ValType {180 pub fn name(&self) -> &'static str {180 pub const fn name(&self) -> &'static str {181 use ValType::*;181 use ValType::*;182 match self {182 match self {183 Bool => "boolean",183 Bool => "boolean",448 }448 }449}449}450450451fn is_function_like(val: &Val) -> bool {451const fn is_function_like(val: &Val) -> bool {452 matches!(val, Val::Func(_))452 matches!(val, Val::Func(_))453}453}454454