Skip to content

Commit

Permalink
Merge branch 'pe/implement-struct-descriptions-and-renames' of https:…
Browse files Browse the repository at this point in the history
…//github.com/martian-lang/martian-rust into pe/implement-struct-descriptions-and-renames
  • Loading branch information
pjedge committed Mar 8, 2024
2 parents 74c9b5f + 749cfdf commit efd5195
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions martian/src/mro.rs
Original file line number Diff line number Diff line change
Expand Up @@ -478,11 +478,11 @@ impl MroField {
/// across numerous other MroFields -- e.g. when printing multiple fields of a struct.
fn fmt_align_4_columns(&self, ty_width: usize, name_width: usize, desc_width: usize) -> String {
let desc_field = match self.desc {
Some(ref desc) => format!(" \"{}\"", desc),
Some(ref desc) => format!(" \"{desc}\""),
None => "".to_string(),
};
let mro_filename_field = match self.mro_filename {
Some(ref name) => format!(" \"{}\"", name),
Some(ref name) => format!(" \"{name}\""),
None => "".to_string(),
};

Expand Down

0 comments on commit efd5195

Please sign in to comment.