use the CaMeL case names of the nodes as cell label
This commit is contained in:
parent
aab2f8dc20
commit
4bcf1c7531
1 changed files with 2 additions and 2 deletions
|
@ -868,8 +868,8 @@ macro_rules! make_node_info_enum {
|
||||||
impl std::fmt::Display for NodeId {
|
impl std::fmt::Display for NodeId {
|
||||||
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
|
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
|
||||||
match self {
|
match self {
|
||||||
NodeId::$v1 => write!(f, "{}", stringify!($s1)),
|
NodeId::$v1 => write!(f, "{}", stringify!($v1)),
|
||||||
$(NodeId::$variant(i) => write!(f, "{} {}", stringify!($str), i)),+
|
$(NodeId::$variant(i) => write!(f, "{} {}", stringify!($variant), i)),+
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue