Remove Clone derive from LazyAttrTokenStreamImpl.

This commit is contained in:
Nicholas Nethercote 2024-07-07 16:24:51 +10:00
parent 3a5c4b6e4e
commit 022582ca46

View File

@ -87,7 +87,6 @@ fn has_cfg_or_cfg_attr(attrs: &[Attribute]) -> bool {
//
// This also makes `Parser` very cheap to clone, since
// there is no intermediate collection buffer to clone.
#[derive(Clone)]
struct LazyAttrTokenStreamImpl {
start_token: (Token, Spacing),
cursor_snapshot: TokenCursor,