mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-27 05:49:08 +00:00
updates for clippy 1.62
This commit is contained in:
parent
4523e90bc7
commit
9c856fd5ae
12 changed files with 75 additions and 56 deletions
|
@ -1,4 +1,5 @@
|
|||
use crate::markup::{mark_id_ast_id_map::MarkIdAstIdMap, nodes::MarkupNode};
|
||||
use std::fmt::Write;
|
||||
|
||||
pub type MarkNodeId = usize;
|
||||
|
||||
|
@ -54,14 +55,16 @@ impl SlowPool {
|
|||
child_str = format!("children: {:?}", node_children);
|
||||
}
|
||||
|
||||
ret_str.push_str(&format!(
|
||||
write!(
|
||||
ret_str,
|
||||
"{}: {} ({}) ast_id {:?} {}",
|
||||
mark_node_id,
|
||||
node.node_type_as_string(),
|
||||
node.get_content(),
|
||||
ast_node_id.parse::<usize>().unwrap(),
|
||||
child_str
|
||||
));
|
||||
)
|
||||
.unwrap();
|
||||
}
|
||||
|
||||
ret_str
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue