mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-28 22:34:45 +00:00
clippy
This commit is contained in:
parent
2773639c7b
commit
d2482246f2
2 changed files with 8 additions and 7 deletions
|
@ -377,7 +377,7 @@ pub fn package_name<'a>() -> impl Parser<'a, PackageName<'a>, EPackageName> {
|
|||
}
|
||||
}
|
||||
|
||||
fn chomp_package_part<'a>(buffer: &'a [u8]) -> Result<&'a str, Progress> {
|
||||
fn chomp_package_part(buffer: &[u8]) -> Result<&str, Progress> {
|
||||
use encode_unicode::CharExt;
|
||||
|
||||
let mut chomped = 0;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue