Skip to content

Commit

Permalink
Fix clippy warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
OpenByteDev committed Jul 31, 2023
1 parent 0776429 commit 3f3314b
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion tests/load_assembly_manually.rs
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ rusty_fork_test! {
let symbol_bytes = fs::read(common::library_symbols_path().to_os_string()).unwrap();

context
.load_assembly_from_bytes(&assembly_bytes, &symbol_bytes)
.load_assembly_from_bytes(assembly_bytes, symbol_bytes)
.unwrap();

let fn_loader = context
Expand Down
6 changes: 3 additions & 3 deletions tests/runtime_properties.rs
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,10 @@ rusty_fork_test! {
let property_value = context
.get_runtime_property_value(test_property_name)
.unwrap();
assert_eq!(test_property_value, property_value.as_ref());
assert_eq!(test_property_value, property_value);

let properties = context.runtime_properties().unwrap();
let property_value = properties.get(test_property_name).unwrap();
assert_eq!(test_property_value, property_value.as_ref());
let property_value = properties.get(test_property_name).copied().unwrap();
assert_eq!(test_property_value, property_value);
}
}
2 changes: 1 addition & 1 deletion tests/sdk_resolve.rs
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ fn list_sdks() {
}

#[test]
#[cfg(all(feature = "netcore2_1"))]
#[cfg(feature = "netcore2_1")]
fn get_native_search_directories() {
common::setup();

Expand Down

0 comments on commit 3f3314b

Please sign in to comment.