Skip to content

Move task::task() to TaskBuilder::new() #13675

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 1 commit into from
Apr 24, 2014

Conversation

sfackler
Copy link
Member

The constructor for TaskBuilder is being changed to an associated
function called new for consistency with the rest of the standard
library.

Closes #13666

[breaking-change]

@brson
Copy link
Contributor

brson commented Apr 23, 2014

Legit error.

The constructor for `TaskBuilder` is being changed to an associated
function called `new` for consistency with the rest of the standard
library.

Closes rust-lang#13666

[breaking-change]
bors added a commit that referenced this pull request Apr 24, 2014
The constructor for `TaskBuilder` is being changed to an associated
function called `new` for consistency with the rest of the standard
library.

Closes #13666

[breaking-change]
@bors bors closed this Apr 24, 2014
@bors bors merged commit adeeadf into rust-lang:master Apr 24, 2014
@sfackler sfackler deleted the taskbuilder-new branch May 15, 2014 05:02
flip1995 pushed a commit to flip1995/rust that referenced this pull request Mar 20, 2025
…item groups optional (rust-lang#13718)

From feedback to the `arbitrary_source_item_ordering` lint after its
inclusion in clippy 1.82, making alphabetic ordering within module item
groups has turned out to be the most requested improvement. With this
improvement, it is possible to make the lint perform certain top-level
structural checks on modules (e.g. use statements and module inclusions
at the top), but still leaving everything else up to the developer.

Implements parts of the suggestions from rust-lang#13675. A catch-all-group is
still to be implemented.

changelog: [`arbitrary_source_item_ordering`]: Make alphabetic ordering
in module item groups optional (off by default)
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.

Rename task function to TaskBuilder::new
3 participants