when --debug print note name
This commit is contained in:
@@ -74,7 +74,11 @@ impl Syn {
|
||||
match self {
|
||||
Syn::Real(syn) => syn.render(a, b),
|
||||
Syn::Text { m, i } => {
|
||||
eprintln!("{} | render[{}]({:?})", chrono::prelude::Utc::now(), i, m);
|
||||
eprintln!("{} | render[{}]({:?})", chrono::prelude::Utc::now(), i, m
|
||||
.iter()
|
||||
.map(|tuple| (tuple.0, tuple.1.iter().map(|v| tone::new(v.0.to_string()).string()).collect::<Vec<_>>()))
|
||||
.collect::<Vec<_>>(),
|
||||
);
|
||||
*i += 1;
|
||||
}
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user