mirror of
https://github.com/github/codeql.git
synced 2025-12-16 16:53:25 +01:00
Ruby: Format rust files
This commit is contained in:
@@ -11,7 +11,7 @@ use std::io::BufRead;
|
|||||||
use std::path::{Path, PathBuf};
|
use std::path::{Path, PathBuf};
|
||||||
use tree_sitter::{Language, Parser, Range};
|
use tree_sitter::{Language, Parser, Range};
|
||||||
|
|
||||||
use ruby_extractor::{diagnostics, extractor, file_paths, trap, node_types};
|
use ruby_extractor::{diagnostics, extractor, file_paths, node_types, trap};
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Gets the number of threads the extractor should use, by reading the
|
* Gets the number of threads the extractor should use, by reading the
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
use crate::diagnostics;
|
use crate::diagnostics;
|
||||||
use crate::file_paths;
|
use crate::file_paths;
|
||||||
use crate::trap;
|
|
||||||
use crate::node_types::{self, EntryKind, Field, NodeTypeMap, Storage, TypeName};
|
use crate::node_types::{self, EntryKind, Field, NodeTypeMap, Storage, TypeName};
|
||||||
|
use crate::trap;
|
||||||
use std::collections::BTreeMap as Map;
|
use std::collections::BTreeMap as Map;
|
||||||
use std::collections::BTreeSet as Set;
|
use std::collections::BTreeSet as Set;
|
||||||
use std::fmt;
|
use std::fmt;
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
use std::collections::BTreeSet;
|
use std::collections::BTreeSet;
|
||||||
|
|
||||||
use crate::{node_types, generator::ql};
|
use crate::{generator::ql, node_types};
|
||||||
|
|
||||||
/// Creates the hard-coded `AstNode` class that acts as a supertype of all
|
/// Creates the hard-coded `AstNode` class that acts as a supertype of all
|
||||||
/// classes we generate.
|
/// classes we generate.
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
pub mod generator;
|
|
||||||
pub mod node_types;
|
|
||||||
pub mod trap;
|
|
||||||
pub mod diagnostics;
|
pub mod diagnostics;
|
||||||
pub mod extractor;
|
pub mod extractor;
|
||||||
pub mod file_paths;
|
pub mod file_paths;
|
||||||
|
pub mod generator;
|
||||||
|
pub mod node_types;
|
||||||
|
pub mod trap;
|
||||||
|
|||||||
Reference in New Issue
Block a user