first cut

This commit is contained in:
Jochen
2025-11-21 13:56:36 +11:00
parent 34e55050b3
commit a097c3abef
8 changed files with 17 additions and 8 deletions

View File

@@ -48,7 +48,7 @@ pub async fn another_async(x: i32) -> Result<(), ()> {
println!("{}\n", "=".repeat(80));
let mut parser = Parser::new();
let language: Language = tree_sitter_rust::language().into();
let language: Language = tree_sitter_rust::LANGUAGE.into();
parser.set_language(&language)?;
let tree = parser.parse(source_code, None).unwrap();