Skip to content

Commit 9b8a5a4

Browse files
bdashemesare
authored andcommitted
[Rust] Fix a pre-existing formatting issue CI is complaining about
1 parent 8677301 commit 9b8a5a4

File tree

2 files changed

+7
-5
lines changed

2 files changed

+7
-5
lines changed

plugins/svd/src/mapper.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,7 @@ impl DeviceMapper {
174174
&data_memory,
175175
Some(memory_info.segment_flags),
176176
);
177-
177+
178178
if !added_memory {
179179
log::error!(
180180
"Failed to add memory for peripheral block! {} @ 0x{:x}",
@@ -183,7 +183,7 @@ impl DeviceMapper {
183183
);
184184
}
185185
}
186-
186+
187187
view.add_segment(memory_info.segment);
188188
view.add_section(memory_info.section);
189189

plugins/svd/src/settings.rs

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,9 +30,11 @@ impl LoadSettings {
3030
"default" : Self::ADD_BACKING_REGIONS_DEFAULT,
3131
"description" : "Whether to add backing regions. Backing regions allow you to write to the underlying memory of a view, but will take up space in the BNDB.",
3232
});
33-
bn_settings
34-
.register_setting_json(Self::ADD_BACKING_REGIONS_SETTING, add_backing_region_props.to_string());
35-
33+
bn_settings.register_setting_json(
34+
Self::ADD_BACKING_REGIONS_SETTING,
35+
add_backing_region_props.to_string(),
36+
);
37+
3638
let add_bitfields_props = json!({
3739
"title" : "Add Bitfields",
3840
"type" : "boolean",

0 commit comments

Comments
 (0)