Remove unnecessary derives.

This commit is contained in:
Nicholas Nethercote 2023-11-14 09:15:19 +11:00
parent 2f51f0b290
commit 1d320ed387
1 changed files with 1 additions and 2 deletions

View File

@ -177,7 +177,7 @@ pub struct BeginToken {
breaks: Breaks,
}
#[derive(Clone, PartialEq)]
#[derive(PartialEq)]
pub enum Token {
// In practice a string token contains either a `&'static str` or a
// `String`. `Cow` is overkill for this because we never modify the data,
@ -229,7 +229,6 @@ pub struct Printer {
last_printed: Option<Token>,
}
#[derive(Clone)]
struct BufEntry {
token: Token,
size: isize,