mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-29 23:04:49 +00:00
clippy
This commit is contained in:
parent
4d9202ec6e
commit
e4b814ce1c
8 changed files with 51 additions and 48 deletions
|
@ -958,7 +958,7 @@ fn sort_and_deduplicate<T>(tag_vars: &mut bumpalo::collections::Vec<(TagName, T)
|
|||
fn find_tag_name_run(slice: &[TagName], subs: &mut Subs) -> Option<SubsSlice<TagName>> {
|
||||
use std::cmp::Ordering;
|
||||
|
||||
let tag_name = slice.get(0)?;
|
||||
let tag_name = slice.first()?;
|
||||
|
||||
let mut result = None;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue