Skip to content

Commit 90772e8

Browse files
committed
Format rust code
1 parent 7177b65 commit 90772e8

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

plugins/svd/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,4 +121,4 @@ fn plugin_init() {
121121
.unwrap();
122122
module_meta_workflow.insert("core.module.loadDebugInfo", [LOADER_ACTIVITY_NAME]);
123123
module_meta_workflow.register().unwrap();
124-
}
124+
}

rust/tests/binary_view.rs

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,10 @@ fn test_binary_saving() {
3939
assert!(view.save_to_path(&temp_path));
4040
// Verify that the file exists and is modified.
4141
let new_view = binaryninja::load(temp_path).expect("Failed to load new view");
42-
assert_eq!(new_view.read_vec(contents_addr, 4), [0xff, 0xff, 0xff, 0xff]);
42+
assert_eq!(
43+
new_view.read_vec(contents_addr, 4),
44+
[0xff, 0xff, 0xff, 0xff]
45+
);
4346
}
4447

4548
#[test]

0 commit comments

Comments
 (0)