Skip to content

Commit

Permalink
fix: Make Recoverable field public.
Browse files Browse the repository at this point in the history
  • Loading branch information
vldm committed Oct 11, 2023
1 parent ef9a484 commit 4511a66
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/parser/recoverable.rs
Original file line number Diff line number Diff line change
Expand Up @@ -235,7 +235,7 @@ impl<C> From<ParserConfig<C>> for RecoveryConfig {
/// Panics:
/// If [`ParseRecoverable`] implementation doesn't save any diagnostic message,
/// and return [`None`].
pub struct Recoverable<T>(T);
pub struct Recoverable<T>(pub T);
impl<T> Recoverable<T> {
pub fn inner(self) -> T {
self.0
Expand Down

0 comments on commit 4511a66

Please sign in to comment.