diff options
| author | KyleMiles <krm504@nyu.edu> | 2023-05-10 10:18:38 -0400 |
|---|---|---|
| committer | KyleMiles <krm504@nyu.edu> | 2023-05-10 10:18:38 -0400 |
| commit | 6acc3ec38633967065bf7978cab8c3b04140d031 (patch) | |
| tree | 274533cc05fafbe57027cee4e9ec1df1441bb920 /rust/src/lib.rs | |
| parent | 99c7a280ae771073b6a36e958426d6f2c7d29462 (diff) | |
Rust API : Remove some unused type parameters (this should remove a little bit of codegen)...but will likely break custom BV plugins
Diffstat (limited to 'rust/src/lib.rs')
| -rw-r--r-- | rust/src/lib.rs | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/rust/src/lib.rs b/rust/src/lib.rs index 61016c0f..61358e6c 100644 --- a/rust/src/lib.rs +++ b/rust/src/lib.rs @@ -312,11 +312,11 @@ pub fn open_view_with_options<F: AsRef<Path>>( _ => { if let (Some(universal_view_type), Some(options)) = (universal_view_type, &options) { if options.contains_key("files.universal.architecturePreference") { - let settings = universal_view_type + universal_view_type .load_settings_for_data(view.as_ref()) .map_err(|_| { "Could not load settings for universal view_data".to_string() - })?; + })? // let arch_list = // settings.get_string("loader.universal.architectures", None, None); @@ -331,8 +331,6 @@ pub fn open_view_with_options<F: AsRef<Path>>( // let settings = settings::Settings::new(BNGetUniqueIdentifierString()); // settings.deserialize_schema(arch_entry[0]['loadSchema']); - - settings } else { match view_type.load_settings_for_data(view.as_ref()) { Ok(settings) => settings, |
