Skip to content
Myr

Fix a new clippy warning

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by Thayne McCombs · committed by David Peter · parent 8e0bd33 · Browse files · 1 file+1 added−1 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+1 added−1 removed

  • other:+1 added−1 removed

1 file+1 added−1 removed

modified:src/regex_helper.rs+1 added-1 removed
65 unmodified lines
66 }6768 if let Some(hir) = hirs.next() {69 match hir.kind() {70 HirKind::Literal(Literal(bytes)) => bytes.starts_with(&[b'.']),70 HirKind::Literal(Literal(bytes)) => bytes.starts_with(b"."),71 _ => false,72 }73 } else {74 false
31 unmodified lines