fix clippy errors

This commit is contained in:
geoffsee
2025-09-04 13:53:00 -04:00
parent c1c583faab
commit fb5098eba6
11 changed files with 15 additions and 38 deletions

View File

@@ -126,7 +126,7 @@ pub fn hub_load_safetensors(
.iter()
.map(|v| {
repo.get(v)
.map_err(|e| std::io::Error::new(std::io::ErrorKind::Other, e))
.map_err(|e| std::io::Error::other(e))
})
.collect::<Result<Vec<_>, std::io::Error>>()?;
Ok(safetensors_files)