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

Fix warnings and clippy lints #943

Merged
merged 3 commits into from
Nov 22, 2024
Merged

Fix warnings and clippy lints #943

merged 3 commits into from
Nov 22, 2024

Conversation

joshka
Copy link
Collaborator

@joshka joshka commented Nov 14, 2024

Remove winapi feature flag checks

These checks were impossible to trigger as there is no separate feature
flag for winapi and crossterm_winapi. The windows feature flag
automatically enables these dependencies.

Move InternalEventFilter into tests mod

This is only used in test code, so should be defined there

Fix clippy lints for byte char slices

https://rust-lang.github.io/rust-clippy/master/index.html#byte_char_slices

This is only used in test code, so should be defined there
These checks were impossible to trigger as there is no separate feature
flag for winapi and crossterm_winapi. The windows feature flag
automatically enables these dependencies.
@joshka joshka requested a review from TimonPost as a code owner November 14, 2024 23:44
@joshka joshka changed the title jm/fix warnings Fix warnings and clippy lints Nov 14, 2024
src/lib.rs Show resolved Hide resolved
@joshka joshka merged commit 31b3998 into master Nov 22, 2024
6 checks passed
@joshka joshka deleted the jm/fix-warnings branch November 22, 2024 00:52
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