Skip to content

Enable stricter clippy lints#10

Merged
kkharji merged 1 commit intokkharji:masterfrom
mre:stricter-lints
May 14, 2025
Merged

Enable stricter clippy lints#10
kkharji merged 1 commit intokkharji:masterfrom
mre:stricter-lints

Conversation

@mre
Copy link
Contributor

@mre mre commented May 12, 2025

This fixes some more linting issues. Overall, these are just changes that clippy suggests at the highest level, which I think makes sense for a fundamental library like this.

Also, I renamed _spawn_and_stream to spawn_and_stream() as an underscore in front
of a method name typically indicates that a variable or function is not used.
However, this is not the case here.

For more info, see this clippy lint documentation:
https://rust-lang.github.io/rust-clippy/master/index.html#used_underscore_items

@mre mre force-pushed the stricter-lints branch from b1fd20b to 62d67e6 Compare May 12, 2025 20:56
I renamed `_spawn_and_stream` to `spawn_and_stream()` as an underscore in front
of a method name typically indicates that a variable or function is not used.
However, this is not the case here.

For more info, see this clippy lint documentation:
https://rust-lang.github.io/rust-clippy/master/index.html#used_underscore_items
@mre mre force-pushed the stricter-lints branch from 62d67e6 to a6bca41 Compare May 12, 2025 20:56
Copy link
Owner

@kkharji kkharji left a comment

Choose a reason for hiding this comment

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

Thanks @mre, definitely a good quality upgrade. Hopefully soon will cut new release

@kkharji kkharji merged commit f3ef68f into kkharji:master May 14, 2025
0 of 3 checks passed
@mre mre deleted the stricter-lints branch May 14, 2025 08:48
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