more function things

This commit is contained in:
nora 2022-01-16 19:58:52 +01:00
parent e15967e24c
commit ff6b4703ab
11 changed files with 77 additions and 55 deletions

View file

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