From 4bcf1c7531be4cbbdbb892d84eaf504b536383fe Mon Sep 17 00:00:00 2001 From: Weird Constructor Date: Thu, 15 Jul 2021 19:32:33 +0200 Subject: [PATCH] use the CaMeL case names of the nodes as cell label --- src/dsp/mod.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/dsp/mod.rs b/src/dsp/mod.rs index fdc11a6..35f9290 100644 --- a/src/dsp/mod.rs +++ b/src/dsp/mod.rs @@ -868,8 +868,8 @@ macro_rules! make_node_info_enum { impl std::fmt::Display for NodeId { fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { match self { - NodeId::$v1 => write!(f, "{}", stringify!($s1)), - $(NodeId::$variant(i) => write!(f, "{} {}", stringify!($str), i)),+ + NodeId::$v1 => write!(f, "{}", stringify!($v1)), + $(NodeId::$variant(i) => write!(f, "{} {}", stringify!($variant), i)),+ } } }