From f169b98e297b95aa203b5bffde1c95aea21b2e97 Mon Sep 17 00:00:00 2001 From: David Tolnay Date: Thu, 29 Sep 2022 09:13:26 -0700 Subject: [PATCH] Delete TokenBuffer's empty Drop impl See https://github.com/dtolnay/syn/pull/1223#pullrequestreview-1124705030 --- src/buffer.rs | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/buffer.rs b/src/buffer.rs index d7483d33fa..93b1e76487 100644 --- a/src/buffer.rs +++ b/src/buffer.rs @@ -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, stream: TokenStream) { for tt in stream {