Remove many unnecessary trait derivations.
This commit is contained in:
parent
c3b3a86124
commit
ac6daed384
49 changed files with 89 additions and 103 deletions
|
@ -1311,7 +1311,7 @@ pub struct BytePos(pub u32);
|
|||
/// A character offset. Because of multibyte UTF-8 characters, a byte offset
|
||||
/// is not equivalent to a character offset. The `SourceMap` will convert `BytePos`
|
||||
/// values to `CharPos` values as necessary.
|
||||
#[derive(Copy, Clone, PartialEq, Eq, Hash, PartialOrd, Ord, Debug)]
|
||||
#[derive(Copy, Clone, PartialEq, Eq, PartialOrd, Ord, Debug)]
|
||||
pub struct CharPos(pub usize);
|
||||
|
||||
// FIXME: lots of boilerplate in these impls, but so far my attempts to fix
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue