mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-30 07:14:46 +00:00
clippy
This commit is contained in:
parent
64ce731d17
commit
c94ee9b839
2 changed files with 4 additions and 4 deletions
|
@ -872,7 +872,7 @@ where
|
|||
}
|
||||
|
||||
pub fn unexpected_eof<'a>(
|
||||
arena: &'a Bump,
|
||||
_arena: &'a Bump,
|
||||
state: State<'a>,
|
||||
chars_consumed: usize,
|
||||
) -> (Progress, SyntaxError<'a>, State<'a>) {
|
||||
|
@ -1132,7 +1132,7 @@ pub fn ascii_string<'a>(keyword: &'static str) -> impl Parser<'a, (), SyntaxErro
|
|||
// the row in the state, only the column.
|
||||
debug_assert!(keyword.chars().all(|ch| ch.len_utf8() == 1 && ch != '\n'));
|
||||
|
||||
move |arena, state: State<'a>| {
|
||||
move |_arena, state: State<'a>| {
|
||||
let len = keyword.len();
|
||||
|
||||
// TODO do this comparison in one SIMD instruction (on supported systems)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue