Remove unnecessary derives.
This commit is contained in:
parent
2f51f0b290
commit
1d320ed387
@ -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,
|
||||
|
Loading…
x
Reference in New Issue
Block a user