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

rustpkg: Factor out tests; use a condition instead of returning an option #5861

Merged
merged 2 commits into from
Apr 15, 2013

Conversation

catamorphism
Copy link
Contributor

r? @graydon

Pulled out tests into their own modules inside the files they test,
as per the draft style guidelines.

Started a new module, path_util, for utility functions to do with
paths and directories.

Changed default_dest_dir to use a condition and return Path
instead of Option.

…tion

Pulled out tests into their own modules inside the files they test,
as per the draft style guidelines.

Started a new module, path_util, for utility functions to do with
paths and directories.

Changed default_dest_dir to use a condition and return Path
instead of Option<Path>.
bors added a commit that referenced this pull request Apr 15, 2013
r? @graydon

Pulled out tests into their own modules inside the files they test,
as per the draft style guidelines.

Started a new module, path_util, for utility functions to do with
paths and directories.

Changed default_dest_dir to use a condition and return Path
instead of Option<Path>.
@bors bors closed this Apr 15, 2013
@bors bors merged commit 7881bde into rust-lang:incoming Apr 15, 2013
flip1995 pushed a commit to flip1995/rust that referenced this pull request Aug 11, 2020
flip1995 added a commit to flip1995/rust that referenced this pull request Aug 11, 2020
…to,flip1995

New lint against `Self` as an arbitrary self type

Fixes rust-lang#5861

changelog: * [`needless_arbitrary_self_type`] [rust-lang#5869](rust-lang/rust-clippy#5869)
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.

3 participants