Skip to content

Commit

Permalink
Add alloc feature to the entire precedence module
Browse files Browse the repository at this point in the history
The parser really cant work without it and the helpers dont make much sense without the parser.
  • Loading branch information
cenodis committed Aug 17, 2021
1 parent b504d39 commit 24ef4a1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/precedence/mod.rs
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
//! Combinators to parse expressions with operator precedence.
#![cfg(feature="alloc")]

#[cfg(test)]
mod tests;

use crate::error::{ErrorKind, FromExternalError, ParseError};
#[cfg(feature = "alloc")]
use crate::lib::std::vec::Vec;
use crate::{Err, IResult, Parser};

Expand Down

0 comments on commit 24ef4a1

Please sign in to comment.