aboutsummaryrefslogtreecommitdiff
path: root/src/lib.rs
diff options
context:
space:
mode:
authorMartin Fischer <martin@push-f.com>2023-08-17 08:59:05 +0200
committerMartin Fischer <martin@push-f.com>2023-08-19 11:41:55 +0200
commitc169e78f120ea9be451f337306b8bff6c1fb4955 (patch)
treed04dd60435a2191f3d34b3680a87d92ff5df0edc /src/lib.rs
parent91074b6e7e6e8463f15ca26bc39e70b80f954227 (diff)
refactor!: remove Span trait, just use Range
`std::mem::size_of::<Range<NoopOffset>>()` is 0 so there's no need to abstract over Range.
Diffstat (limited to 'src/lib.rs')
-rw-r--r--src/lib.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib.rs b/src/lib.rs
index 12eb6a2..fd0349c 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -7,8 +7,8 @@ mod emitter;
mod entities;
mod error;
mod machine;
+pub mod offset;
pub mod reader;
-pub mod spans;
mod tokenizer;
mod utils;