From 236332f9bfd9cb0688815142237f299939b2d80a Mon Sep 17 00:00:00 2001 From: nsfisis Date: Fri, 20 Feb 2026 21:03:57 +0900 Subject: feat: add parsing tests --- src/lib.rs | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/lib.rs') diff --git a/src/lib.rs b/src/lib.rs index 5d80297..3143032 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -3,11 +3,13 @@ use std::iter::Peekable; pub type RepairResult = Result; +#[derive(Debug)] pub enum RepairOk { Valid, Repaired, } +#[derive(Debug)] pub enum RepairErr { Invalid(SyntaxError), IoErr(std::io::Error), @@ -25,6 +27,7 @@ impl From for RepairErr { } } +#[derive(Debug)] pub enum SyntaxError { UnexpectedEof, InvalidValue, -- cgit v1.3-1-g0d28