This commit is contained in:
Richard Feldman 2024-06-17 22:23:39 -04:00
parent d2e1428003
commit b79ee68729
No known key found for this signature in database
GPG key ID: F1F21AA5B1D9E43B
2 changed files with 13 additions and 13 deletions

View file

@ -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 {