This commit is contained in:
nora 2021-10-31 20:35:37 +01:00
parent c6200a901c
commit 7b1c7335c2
3 changed files with 245 additions and 17 deletions

View file

@ -7,7 +7,7 @@ pub use span::Span;
mod span {
#[derive(Debug, Copy, Clone, PartialOrd, PartialEq, Ord, Eq, Hash)]
#[derive(Debug, Default, Copy, Clone, PartialOrd, PartialEq, Ord, Eq, Hash)]
pub struct Span {
pub start: usize,
pub end: usize,