fix warnings and some refactoring

This commit is contained in:
Levy A.
2025-06-03 23:14:07 -03:00
parent 1881cd04b5
commit b88cb99ff0
5 changed files with 12 additions and 23 deletions

View File

@@ -102,7 +102,7 @@ pub trait ToTokens {
let mut s = FmtTokenStream { f, spaced: true };
self.to_tokens(&mut s)
}
// Format AST node to string
/// Format AST node to string
fn format(&self) -> Result<String, fmt::Error> {
let mut s = String::new();