Skip to content

Commit b66d8ae

Browse files
committed
fix lint warnings
1 parent d0da36a commit b66d8ae

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

oxide/crates/core/src/parser.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -352,7 +352,7 @@ impl<'a> Extractor<'a> {
352352
self.in_candidate
353353
&& !self.in_arbitrary
354354
&& (0..=127).contains(&c)
355-
&& (self.idx_start == 0 || self.input[(self.idx_start - 1)] <= 127)
355+
&& (self.idx_start == 0 || self.input[self.idx_start - 1] <= 127)
356356
}
357357

358358
#[inline(always)]
@@ -470,7 +470,7 @@ impl<'a> Iterator for Extractor<'a> {
470470
mod test {
471471
use super::*;
472472

473-
fn please_trace() {
473+
fn _please_trace() {
474474
tracing_subscriber::fmt()
475475
.with_max_level(tracing::Level::TRACE)
476476
.with_span_events(tracing_subscriber::fmt::format::FmtSpan::ACTIVE)

0 commit comments

Comments
 (0)