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 9542ab4 commit c048003Copy full SHA for c048003
src/parser.rs
@@ -190,16 +190,19 @@ mod ClosingDelimiter {
190
impl BitOr<Delimiters> for Delimiters {
191
type Output = Delimiters;
192
193
+ #[inline]
194
fn bitor(self, other: Delimiters) -> Delimiters {
195
Delimiters { bits: self.bits | other.bits }
196
}
197
198
199
impl Delimiters {
200
201
fn contains(self, other: Delimiters) -> bool {
202
(self.bits & other.bits) != 0
203
204
205
206
fn from_byte(byte: Option<u8>) -> Delimiters {
207
match byte {
208
Some(b';') => Delimiter::Semicolon,
0 commit comments