cargo clippy
This commit is contained in:
parent
3eeeac6841
commit
51a2717590
@ -119,7 +119,7 @@ fn tex_type_str(t: &TreeNode) -> String {
|
|||||||
match &t.r#type {
|
match &t.r#type {
|
||||||
NodeType::Null => "NULL".to_string(),
|
NodeType::Null => "NULL".to_string(),
|
||||||
NodeType::Boolean => "bool".to_string(),
|
NodeType::Boolean => "bool".to_string(),
|
||||||
NodeType::Array { item } => format!("{}[]", tex_type_str(&item)),
|
NodeType::Array { item } => format!("{}[]", tex_type_str(item)),
|
||||||
NodeType::Object { .. } => t.name.to_string(),
|
NodeType::Object { .. } => t.name.to_string(),
|
||||||
NodeType::String => "string".to_string(),
|
NodeType::String => "string".to_string(),
|
||||||
NodeType::Number => "number".to_string(),
|
NodeType::Number => "number".to_string(),
|
||||||
|
Loading…
Reference in New Issue
Block a user