mirror of
https://github.com/rust-lang/rust-analyzer
synced 2025-01-13 21:54:42 +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 {
|
||||
TokenStream { subtree: Default::default() }
|
||||
}
|
||||
pub fn with_subtree(subtree: tt::Subtree) -> Self {
|
||||
TokenStream { subtree }
|
||||
}
|
||||
|
||||
pub fn is_empty(&self) -> bool {
|
||||
self.subtree.token_trees.is_empty()
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue