Skip to content

Commit 8091d57

Browse files
committed
Shared: Remove unused type
1 parent da9a49d commit 8091d57

File tree

1 file changed

+0
-11
lines changed
  • shared/tree-sitter-extractor/src/extractor

1 file changed

+0
-11
lines changed

shared/tree-sitter-extractor/src/extractor/mod.rs

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ use crate::node_types::{self, EntryKind, Field, NodeTypeMap, Storage, TypeName};
44
use crate::trap;
55
use std::collections::BTreeMap as Map;
66
use std::collections::BTreeSet as Set;
7-
use std::fmt;
87
use std::path::Path;
98

109
use tree_sitter::{Language, Node, Parser, Range, Tree};
@@ -636,13 +635,3 @@ fn traverse(tree: &Tree, visitor: &mut Visitor) {
636635
}
637636
}
638637
}
639-
640-
// Numeric indices.
641-
#[derive(Debug, Copy, Clone)]
642-
struct Index(usize);
643-
644-
impl fmt::Display for Index {
645-
fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result {
646-
write!(f, "{}", self.0)
647-
}
648-
}

0 commit comments

Comments
 (0)