Uh oh!
There was an error while loading. Please reload this page.
Fix unused code warnings test. - #1480
Conversation
Uh oh!
There was an error while loading. Please reload this page.
| waiting_writers: AtomicUsize, | ||
| } | ||
| #[cfg_attr(test, allow(dead_code))] |
There was a problem hiding this comment.
Why is this required? Isn't this app only built in test?
There was a problem hiding this comment.
Not sure what you mean by app in this context, but in seems the module declaration was the cause of it being built. I now hide the entire module in tests with 853bf81.
Uh oh!
There was an error while loading. Please reload this page.
853bf81 to
79f42d7Comparecodecov-commenter
commented
May 13, 2022
Codecov Report
@@ Coverage Diff @@## main #1480 +/- ##
=======================================
Coverage 90.89% 90.89% =======================================
Files 76 76 Lines 42067 42067 Branches 42067 42067 =======================================
Hits 38238 38238 Misses 3829 3829
Continue to review full report at Codecov.
|
tnull
commented
May 13, 2022
Squashed. |
This PR fixes some 'unused' warnings introduced in #1023, which mainly appear when running tests.