difftreelog
fix use correct vanilla type names
in: master
1 file changed
crates/jrsonnet-types/src/lib.rsdiffbeforeafterboth88 pub const fn name(&self) -> &'static str {88 pub const fn name(&self) -> &'static str {89 use ValType::*;89 use ValType::*;90 match self {90 match self {91 Bool => "bool",91 Bool => "boolean",92 Null => "null",92 Null => "null",93 Str => "str",93 Str => "string",94 Num => "num",94 Num => "number",95 Arr => "[any]",95 Arr => "array",96 Obj => "obj",96 Obj => "object",97 Func => "fn.any",97 Func => "function",98 }98 }99 }99 }100}100}