From 4511a667516ff8163d251764231f6ecea5995641 Mon Sep 17 00:00:00 2001 From: Vladimir Motylenko Date: Wed, 11 Oct 2023 12:55:27 +0300 Subject: [PATCH] fix: Make Recoverable field public. --- src/parser/recoverable.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/parser/recoverable.rs b/src/parser/recoverable.rs index 6407f70..3c2afe2 100644 --- a/src/parser/recoverable.rs +++ b/src/parser/recoverable.rs @@ -235,7 +235,7 @@ impl From> for RecoveryConfig { /// Panics: /// If [`ParseRecoverable`] implementation doesn't save any diagnostic message, /// and return [`None`]. -pub struct Recoverable(T); +pub struct Recoverable(pub T); impl Recoverable { pub fn inner(self) -> T { self.0