Skip to content

Commit

Permalink
Put Parser::simplify behind nightly flag
Browse files Browse the repository at this point in the history
  • Loading branch information
zesterer committed Oct 28, 2024
1 parent f729942 commit 24540b3
Show file tree
Hide file tree
Showing 2 changed files with 216 additions and 0 deletions.
215 changes: 215 additions & 0 deletions misc/logo.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2115,6 +2115,7 @@ pub trait Parser<'src, I: Input<'src>, O, E: ParserExtra<'src, I> = extra::Defau
///
/// The only reason for using this function is to make Rust's compiler errors easier to debug: it does not change
/// the behaviour of the parser at all, and is in fact just a simple identity function.
#[cfg(feature = "nightly")]
fn simplify(self) -> impl Parser<'src, I, O, E>
where
Self: Sized + 'src,
Expand Down

0 comments on commit 24540b3

Please sign in to comment.