Rust fmt fixes

This commit is contained in:
Carlo Kok
2020-06-17 06:46:58 +02:00
parent 0b613caad1
commit b2549d1fde
3 changed files with 9 additions and 6 deletions

View File

@@ -97,10 +97,7 @@ impl DataContext {
/// Override the segment/section for data, only supported on Object backend
pub fn set_segment_section(&mut self, seg: &str, sec: &str) {
self.description.custom_segment_section = Some((
seg.to_owned(),
sec.to_owned(),
))
self.description.custom_segment_section = Some((seg.to_owned(), sec.to_owned()))
}
/// Declare an external function import.