8000 Remove unnecessary parens around types by viniciusd · Pull Request #750 · rust-ndarray/ndarray · GitHub
[go: up one dir, main page]

Skip to content

Remove unnecessary parens around types#750

Merged
LukeMathWalker merged 1 commit intorust-ndarray:masterfrom
viniciusd:master
Nov 11, 2019
Merged

Remove unnecessary parens around types#750
LukeMathWalker merged 1 commit intorust-ndarray:masterfrom
viniciusd:master

Conversation

@viniciusd
Copy link
Contributor

rust-lang/rust#64169 adds a compiler warning for parenthesis around simple types. It has already made its way into the beta channel.

Also, thoughts on adding -D warnings to the nightly channel build as well? Gotta confess it was weird when I saw it failing because of this reason on beta while it didn't on nightly

@viniciusd
Copy link
Contributor Author
viniciusd commented Nov 10, 2019

It is now failing because of unrelated issues.

I've got another branch addressing the needless_doctest_main issues.

The remaining ones are with regards missing Safety section in the docs, using clippy words, missing_safety_doc, which was added by rust-lang/rust-clippy#4608. Those aren't as straightforward for fixing as they require a per-case analysis in order to verify the safety pre-requisites.

@LukeMathWalker
Copy link
Member

I think we can start addressing these linting issues one by one.
I'll merge this 👍

@LukeMathWalker LukeMathWalker merged commit 3b9a8b6 into rust-ndarray:master Nov 11, 2019
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.

2 participants

0