Skip to content

Commit

Permalink
Delete TokenBuffer's empty Drop impl
Browse files Browse the repository at this point in the history
  • Loading branch information
dtolnay committed Sep 29, 2022
1 parent 65ee83a commit f169b98
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions src/buffer.rs
Expand Up @@ -39,11 +39,6 @@ pub struct TokenBuffer {
entries: Box<[Entry]>,
}

// Keep the explicit impl for backwards compatibility.
impl Drop for TokenBuffer {
fn drop(&mut self) {}
}

impl TokenBuffer {
fn new_inner(entries: &mut Vec<Entry>, stream: TokenStream) {
for tt in stream {
Expand Down

0 comments on commit f169b98

Please sign in to comment.