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 nightly clippy warning #185

Merged
merged 2 commits into from
May 19, 2024
Merged

Fix nightly clippy warning #185

merged 2 commits into from
May 19, 2024

Conversation

notgull
Copy link
Member

@notgull notgull commented May 19, 2024

No description provided.

@notgull
Copy link
Member Author

notgull commented May 19, 2024

Confirmed that the failing test is test loop_logic::tests::insert_bad_source, which appears to only fail on nightly.

In the insert_bad_source test, we drop the FD "420", which doesn't exist.
Previously the error was ignored, but in the latest nightly it now aborts the
program. This commit fixes this by leaking the bad "OwnedFd" instead of leaving
it to be dropped.

Signed-off-by: John Nunley <[email protected]>
Copy link

codecov bot commented May 19, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 85.36%. Comparing base (dd30cfe) to head (aaa4afd).
Report is 1 commits behind head on master.

Additional details and impacted files
@@           Coverage Diff           @@
##           master     #185   +/-   ##
=======================================
  Coverage   85.36%   85.36%           
=======================================
  Files          14       14           
  Lines        1858     1858           
=======================================
  Hits         1586     1586           
  Misses        272      272           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@notgull notgull merged commit b4cc2c9 into master May 19, 2024
14 checks passed
@notgull notgull deleted the notgull/clippy branch May 19, 2024 21:28
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.

1 participant