Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

metadata: change resolve serialization #2331

Merged
merged 1 commit into from
Jan 30, 2016

Conversation

matklad
Copy link
Member

@matklad matklad commented Jan 29, 2016

No description provided.

.unwrap_or(Vec::new()),
}
})
.collect(),
Copy link
Member

Choose a reason for hiding this comment

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

Stylistically this tends to look moreso like:

nodes: resolve.iter().map(|id| {
    Node {
        foo: ...
    }
}).collect()

(helps cut down on the indentation

Copy link
Member Author

Choose a reason for hiding this comment

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

Yep, rustfmt tends to drift rightwards :(

@matklad matklad force-pushed the metadata-encodable-resolve branch from 04fb2cf to 8456d2a Compare January 29, 2016 22:34
@matklad
Copy link
Member Author

matklad commented Jan 29, 2016

rebased

@alexcrichton
Copy link
Member

@bors: r+ 8456d2a

Thanks!

@bors
Copy link
Contributor

bors commented Jan 29, 2016

⌛ Testing commit 8456d2a with merge 6c05bcb...

@matklad
Copy link
Member Author

matklad commented Jan 29, 2016

I've added support for this format to intellij-rust: https://github.com/intellij-rust/intellij-rust/pull/225/files.

It seems to work, so hopefully there is no more outstanding issues here ;)

@alexcrichton
Copy link
Member

Nice!

@bors
Copy link
Contributor

bors commented Jan 30, 2016

@bors bors merged commit 8456d2a into rust-lang:master Jan 30, 2016
@matklad matklad deleted the metadata-encodable-resolve branch June 9, 2016 10:56
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.

4 participants