Skip to content

Commit f327223

Browse files
committed
Ruby: Format rust files
1 parent cd9927c commit f327223

File tree

4 files changed

+6
-6
lines changed

4 files changed

+6
-6
lines changed

ruby/extractor/src/bin/extractor.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ use std::io::BufRead;
1111
use std::path::{Path, PathBuf};
1212
use tree_sitter::{Language, Parser, Range};
1313

14-
use ruby_extractor::{diagnostics, extractor, file_paths, trap, node_types};
14+
use ruby_extractor::{diagnostics, extractor, file_paths, node_types, trap};
1515

1616
/**
1717
* Gets the number of threads the extractor should use, by reading the

ruby/extractor/src/extractor.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
use crate::diagnostics;
22
use crate::file_paths;
3-
use crate::trap;
43
use crate::node_types::{self, EntryKind, Field, NodeTypeMap, Storage, TypeName};
4+
use crate::trap;
55
use std::collections::BTreeMap as Map;
66
use std::collections::BTreeSet as Set;
77
use std::fmt;

ruby/extractor/src/generator/ql_gen.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
use std::collections::BTreeSet;
22

3-
use crate::{node_types, generator::ql};
3+
use crate::{generator::ql, node_types};
44

55
/// Creates the hard-coded `AstNode` class that acts as a supertype of all
66
/// classes we generate.

ruby/extractor/src/lib.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
pub mod generator;
2-
pub mod node_types;
3-
pub mod trap;
41
pub mod diagnostics;
52
pub mod extractor;
63
pub mod file_paths;
4+
pub mod generator;
5+
pub mod node_types;
6+
pub mod trap;

0 commit comments

Comments
 (0)