mirror of
https://github.com/github/codeql.git
synced 2026-05-04 05:05:12 +02:00
Shared: Remove unused type
This commit is contained in:
@@ -4,7 +4,6 @@ use crate::node_types::{self, EntryKind, Field, NodeTypeMap, Storage, TypeName};
|
|||||||
use crate::trap;
|
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::path::Path;
|
use std::path::Path;
|
||||||
|
|
||||||
use tree_sitter::{Language, Node, Parser, Range, Tree};
|
use tree_sitter::{Language, Node, Parser, Range, Tree};
|
||||||
@@ -636,13 +635,3 @@ fn traverse(tree: &Tree, visitor: &mut Visitor) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// Numeric indices.
|
|
||||||
#[derive(Debug, Copy, Clone)]
|
|
||||||
struct Index(usize);
|
|
||||||
|
|
||||||
impl fmt::Display for Index {
|
|
||||||
fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result {
|
|
||||||
write!(f, "{}", self.0)
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|||||||
Reference in New Issue
Block a user