Skip to content

Commit 2dd6a61

Browse files
committed
Run cargo fmt
1 parent 8b1a3fc commit 2dd6a61

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

ledger_device_sdk/src/nbgl/nbgl_address_review.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ impl<'a> NbglAddressReview<'a> {
4747
&icon as *const nbgl_icon_details_t,
4848
match self.verify_str.is_empty() {
4949
true => core::ptr::null(),
50-
false => self.verify_str.as_ptr()
50+
false => self.verify_str.as_ptr(),
5151
},
5252
core::ptr::null(),
5353
Some(choice_callback),

ledger_device_sdk/src/nbgl/nbgl_review.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -132,15 +132,15 @@ impl<'a> NbglReview<'a> {
132132
&icon as *const nbgl_icon_details_t,
133133
match self.title.is_empty() {
134134
true => core::ptr::null(),
135-
false => self.title.as_ptr() as *const c_char
135+
false => self.title.as_ptr() as *const c_char,
136136
},
137137
match self.subtitle.is_empty() {
138138
true => core::ptr::null(),
139-
false => self.subtitle.as_ptr() as *const c_char
139+
false => self.subtitle.as_ptr() as *const c_char,
140140
},
141141
match self.finish_title.is_empty() {
142142
true => core::ptr::null(),
143-
false => self.finish_title.as_ptr() as *const c_char
143+
false => self.finish_title.as_ptr() as *const c_char,
144144
},
145145
Some(choice_callback),
146146
);

0 commit comments

Comments
 (0)