You've already forked AstralRinth
forked from didirus/AstralRinth
Fix Clippy lints (#3494)
* chore: fix some Clippy lints * chore(labrinth): more Clippy fixes
This commit is contained in:
committed by
GitHub
parent
365367dd16
commit
e008b657a5
@@ -598,7 +598,7 @@ async fn fetch(
|
||||
))
|
||||
})?;
|
||||
|
||||
let file_name = value.split('/').last()
|
||||
let file_name = value.split('/').next_back()
|
||||
.ok_or_else(|| {
|
||||
crate::ErrorKind::InvalidInput(format!(
|
||||
"Unable reading filename for data key {key} at path {value}",
|
||||
|
||||
Reference in New Issue
Block a user