mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-26 13:29:12 +00:00
clippy
This commit is contained in:
parent
d2e1428003
commit
b79ee68729
2 changed files with 13 additions and 13 deletions
|
@ -3711,7 +3711,7 @@ pub enum RocFileErr {
|
|||
InvalidUtf8,
|
||||
}
|
||||
|
||||
fn ensure_roc_file<'a>(filename: &Path, src_bytes: &[u8]) -> Result<(), RocFileErr> {
|
||||
fn ensure_roc_file(filename: &Path, src_bytes: &[u8]) -> Result<(), RocFileErr> {
|
||||
match filename.extension() {
|
||||
Some(ext) => {
|
||||
if ext == ROC_FILE_EXTENSION {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue