Skip to content

Conversation

nrc
Copy link
Member

@nrc nrc commented May 17, 2016

Closes #418

r? @marcusklaas

@@ -758,7 +761,8 @@ fn format_struct_struct(context: &RewriteContext,
fields: &[ast::StructField],
generics: Option<&ast::Generics>,
span: Span,
offset: Indent)
offset: Indent,
one_line_width: Option<usize>)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this ever called with None? Or future proofing?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Regular structs call it with None (c.f., variant structs)

@marcusklaas
Copy link
Contributor

Nice!

@marcusklaas marcusklaas merged commit 775de8a into master May 18, 2016
@marcusklaas marcusklaas deleted the struct-variant-one branch May 18, 2016 20:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants