-
Notifications
You must be signed in to change notification settings - Fork 51
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
chore: apply suggestions proposed by clippy #328
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for bringing this up, but we need to understand motivation here. There are some obviously good changes, but there are also a lot of controversial ones, especially around promoting pub(crate)
to pub
. Please, provide more details in the comments
As described in the title, the changes have been proposed by the clippy linter. The point why clippy suggests making some methods and constants public is because they are defined in private modules, and these changes don't affect public API. And about main motivation. Now I can't bump version of this crate in my project because after bumping I get compiling errors:
|
@aleksuss The compilation error due to the Send + Sync is real and indeed has to be addressed (please, also add a test). I have disabled
Could you, please, revert the changes that added |
7b33d27
to
c3f7782
Compare
@aleksuss Does your code work if you compile it using your forked near-workspaces? |
@frol yes, now it compiles without errors. |
@aleksuss near-workspaces 0.9 release is published! Thank you for contributing! |
The motivation to propose these changes is to add the possibility of using this crate in projects which are checked with clippy with lints
all
andnursery
.