mirror of
https://github.com/rust-lang/rust.git
synced 2025-02-07 20:43:03 +00:00
Remove unused func
This commit is contained in:
parent
6af1015f74
commit
836384393b
@ -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 New Issue
Block a user