mirror of
https://github.com/loot/libloot.git
synced 2026-07-27 14:16:01 -07:00
Make Game::set_additional_data_paths() take Vec<PathBuf>, not &[&Path]
This commit is contained in:
+1
-2
@@ -97,9 +97,8 @@ impl Game {
|
||||
self.0.additional_data_paths()
|
||||
}
|
||||
|
||||
#[expect(clippy::needless_pass_by_value, reason = "Required by PyO3")]
|
||||
fn set_additional_data_paths(&mut self, paths: Vec<PathBuf>) -> Result<(), VerboseError> {
|
||||
self.0.set_additional_data_paths(&as_paths(&paths))?;
|
||||
self.0.set_additional_data_paths(paths)?;
|
||||
Ok(())
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user