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

Organize functions into functions module #6990

Merged
merged 6 commits into from
Mar 30, 2021

Conversation

Y-Nak
Copy link
Contributor

@Y-Nak Y-Nak commented Mar 27, 2021

Ref: #6680
Rearrange lints in functions.

changelog: none

@rust-highfive
Copy link

r? @giraffate

(rust-highfive has picked a reviewer for you, use r? to override)

@rust-highfive rust-highfive added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties label Mar 27, 2021
Copy link
Contributor

@giraffate giraffate left a comment

Choose a reason for hiding this comment

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

Overall seems good, thanks! I made some comments.

clippy_lints/src/functions/mod.rs Outdated Show resolved Hide resolved
clippy_lints/src/functions/mod.rs Outdated Show resolved Hide resolved
Comment on lines +60 to +62
"this returns a `Result<_, ()>",
None,
"use a custom Error type instead",
Copy link
Contributor

Choose a reason for hiding this comment

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

nits, it might be better to fix this in another PR because the stderr file needs to be fixed.

Suggested change
"this returns a `Result<_, ()>",
None,
"use a custom Error type instead",
"this returns a `Result<_, ()>`",
None,
"use a custom `Error` type instead",

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Ok, I'll address this in another PR.

@giraffate giraffate added S-waiting-on-author Status: This is awaiting some action from the author. (Use `@rustbot ready` to update this status) and removed S-waiting-on-review Status: Awaiting review from the assignee but also interested parties labels Mar 29, 2021
@Y-Nak
Copy link
Contributor Author

Y-Nak commented Mar 30, 2021

Changes:
Tweak documents in functions.

@giraffate
Copy link
Contributor

@bors r+

It looks good, thanks!

@bors
Copy link
Collaborator

bors commented Mar 30, 2021

📌 Commit 541c8b8 has been approved by giraffate

@bors
Copy link
Collaborator

bors commented Mar 30, 2021

⌛ Testing commit 541c8b8 with merge 1ddeaa6...

@bors
Copy link
Collaborator

bors commented Mar 30, 2021

☀️ Test successful - checks-action_dev_test, checks-action_remark_test, checks-action_test
Approved by: giraffate
Pushing 1ddeaa6 to master...

@bors bors merged commit 1ddeaa6 into rust-lang:master Mar 30, 2021
@Y-Nak Y-Nak deleted the refactor-functions branch March 30, 2021 08:36
@Y-Nak Y-Nak mentioned this pull request Mar 31, 2021
bors added a commit that referenced this pull request Mar 31, 2021
result_unit_err: Fix typo

changelog: result_unit_err: fix typo in a diagnostic message

r? `@giraffate`
fixes #6990 (comment).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
S-waiting-on-author Status: This is awaiting some action from the author. (Use `@rustbot ready` to update this status)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants