Skip to content
This repository was archived by the owner on Sep 9, 2025. It is now read-only.

Commit 5ba472a

Browse files
committed
style: style
1 parent ad4d517 commit 5ba472a

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

tree-sitter-stack-graphs/src/loader.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -334,8 +334,7 @@ impl Loader {
334334
cancellation_flag: &dyn CancellationFlag,
335335
) -> Result<(), LoadError<'a>> {
336336
let file_name = path.to_string_lossy();
337-
let file: stack_graphs::arena::Handle<stack_graphs::graph::File> =
338-
graph.add_file(&file_name).unwrap();
337+
let file = graph.add_file(&file_name).unwrap();
339338
let mut globals = Variables::new();
340339

341340
globals

tree-sitter-stack-graphs/tests/it/builder.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
// Licensed under either of Apache License, Version 2.0, or MIT license, at your option.
55
// Please see the LICENSE-APACHE or LICENSE-MIT files in this distribution for license details.
66
// ------------------------------------------------------------------------------------------------
7+
78
use stack_graphs::graph::StackGraph;
89
use tree_sitter_graph::Variables;
910
use tree_sitter_stack_graphs::NoCancellation;

0 commit comments

Comments
 (0)