mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-27 12:29:21 +00:00
Remove unused func
This commit is contained in:
parent
6af1015f74
commit
836384393b
1 changed files with 1 additions and 3 deletions
|
@ -33,9 +33,7 @@ impl TokenStream {
|
||||||
pub fn new() -> Self {
|
pub fn new() -> Self {
|
||||||
TokenStream { subtree: Default::default() }
|
TokenStream { subtree: Default::default() }
|
||||||
}
|
}
|
||||||
pub fn with_subtree(subtree: tt::Subtree) -> Self {
|
|
||||||
TokenStream { subtree }
|
|
||||||
}
|
|
||||||
pub fn is_empty(&self) -> bool {
|
pub fn is_empty(&self) -> bool {
|
||||||
self.subtree.token_trees.is_empty()
|
self.subtree.token_trees.is_empty()
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue