Skip to content

Commit a8507f0

Browse files
committed
Run cargo fmt
1 parent a03312b commit a8507f0

File tree

1 file changed

+5
-7
lines changed

1 file changed

+5
-7
lines changed

ledger_device_sdk/src/nbgl/nbgl_home_and_settings.rs

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -111,13 +111,11 @@ impl<'a> NbglHomeAndSettings {
111111
}
112112
}
113113

114-
pub fn tagline(
115-
self,
116-
tagline: &'a str) -> NbglHomeAndSettings {
117-
NbglHomeAndSettings {
118-
tag_line: Some(CString::new(tagline).unwrap()),
119-
..self
120-
}
114+
pub fn tagline(self, tagline: &'a str) -> NbglHomeAndSettings {
115+
NbglHomeAndSettings {
116+
tag_line: Some(CString::new(tagline).unwrap()),
117+
..self
118+
}
121119
}
122120

123121
pub fn settings(

0 commit comments

Comments
 (0)