Skip to content

Remove virtual structs #17952

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

Merged
merged 3 commits into from Oct 12, 2014
Merged

Remove virtual structs #17952

merged 3 commits into from Oct 12, 2014

Conversation

ghost
Copy link

@ghost ghost commented Oct 11, 2014

Closes #17861.

let mut result: Vec<field_ty> = Vec::with_capacity(len);
result.extend(results.as_slice().iter().flat_map(|rs| rs.iter().map(|f| f.clone())));
assert!(result.len() == len);
result
Copy link
Member

Choose a reason for hiding this comment

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

Glad to see this gone.

bors added a commit that referenced this pull request Oct 12, 2014
@bors bors closed this Oct 12, 2014
@bors bors merged commit 4442e6d into rust-lang:master Oct 12, 2014
@ghost ghost deleted the remove-virtual-structs branch October 16, 2014 22:28
lnicola pushed a commit to lnicola/rust that referenced this pull request Aug 29, 2024
fix: Fix Return Type Syntax to include `..` (i.e. `method(..)` and not `method()`) as specified in the RFC

Fixes rust-lang#17952.
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.

Remove virtual structs
2 participants