We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2ec00aa commit 1e4b2c9Copy full SHA for 1e4b2c9
src/parser.rs
@@ -200,16 +200,19 @@ mod ClosingDelimiter {
200
impl BitOr<Delimiters> for Delimiters {
201
type Output = Delimiters;
202
203
+ #[inline]
204
fn bitor(self, other: Delimiters) -> Delimiters {
205
Delimiters { bits: self.bits | other.bits }
206
}
207
208
209
impl Delimiters {
210
211
fn contains(self, other: Delimiters) -> bool {
212
(self.bits & other.bits) != 0
213
214
215
216
fn from_byte(byte: Option<u8>) -> Delimiters {
217
match byte {
218
Some(b';') => Delimiter::Semicolon,
0 commit comments