mirror of
https://github.com/rojo-rbx/rojo.git
synced 2026-04-22 21:55:15 +00:00
Fix snapshot middleware clippy lints (#686)
The seventh in a series of PRs that aim to get CI passing
This commit is contained in:
@@ -37,7 +37,7 @@ where
|
||||
.and_then(|name| name.to_str())
|
||||
.with_context(|| format!("Path did not have a file name: {}", path.display()))?;
|
||||
|
||||
match_trailing(&file_name, suffix)
|
||||
match_trailing(file_name, suffix)
|
||||
.with_context(|| format!("Path did not end in {}: {}", suffix, path.display()))
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user