Skip to content

Commit 24ef4a1

Browse files
committed
Add alloc feature to the entire precedence module
The parser really cant work without it and the helpers dont make much sense without the parser.
1 parent b504d39 commit 24ef4a1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/precedence/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
//! Combinators to parse expressions with operator precedence.
2+
#![cfg(feature="alloc")]
23

34
#[cfg(test)]
45
mod tests;
56

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

0 commit comments

Comments
 (0)