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 clippy #1927

Merged
merged 1 commit into from
Mar 13, 2023
Merged

fix clippy #1927

merged 1 commit into from
Mar 13, 2023

Conversation

PSeitz
Copy link
Contributor

@PSeitz PSeitz commented Mar 6, 2023

fix clippy

@fulmicoton
Copy link
Collaborator

if it is not performance critical i'd rather have boxing T_T

@PSeitz
Copy link
Contributor Author

PSeitz commented Mar 6, 2023

In this case there are a lot of tests that would need to be adjusted

@fulmicoton
Copy link
Collaborator

@PSeitz let's adjust the tests

@codecov-commenter
Copy link

codecov-commenter commented Mar 6, 2023

Codecov Report

Merging #1927 (b006a1e) into main (0645181) will increase coverage by 0.00%.
The diff coverage is 100.00%.

📣 This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more

@@           Coverage Diff            @@
##             main    #1927    +/-   ##
========================================
  Coverage   94.47%   94.47%            
========================================
  Files         309      309            
  Lines       56617    56775   +158     
========================================
+ Hits        53489    53639   +150     
- Misses       3128     3136     +8     
Impacted Files Coverage Δ
src/aggregation/agg_req.rs 94.62% <100.00%> (ø)
src/aggregation/agg_tests.rs 100.00% <100.00%> (ø)
src/aggregation/bucket/histogram/histogram.rs 99.49% <100.00%> (+0.01%) ⬆️
src/aggregation/bucket/range.rs 97.56% <100.00%> (+0.06%) ⬆️
src/aggregation/bucket/term_agg.rs 98.51% <100.00%> (+0.10%) ⬆️
src/aggregation/metric/stats.rs 97.71% <100.00%> (+0.02%) ⬆️
src/aggregation/mod.rs 94.30% <100.00%> (+0.03%) ⬆️

... and 1 file with indirect coverage changes

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

@PSeitz PSeitz force-pushed the fix_clippy branch 2 times, most recently from 5a70efb to 2cf8ffb Compare March 6, 2023 05:01
@@ -590,7 +590,7 @@ fn test_aggregation_invalid_requests() -> crate::Result<()> {
Ok(())
}

#[cfg(all(test, feature = "unstable"))]
//#[cfg(all(test, feature = "unstable"))]
Copy link
Collaborator

Choose a reason for hiding this comment

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

this is a mistake i believe?

Copy link
Collaborator

@fulmicoton fulmicoton left a comment

Choose a reason for hiding this comment

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

approved to make the exchange smooth, but have a look at the comment in agg_test.
I think you commented out some feature fence by mistake.

@PSeitz PSeitz merged commit 61cfd8d into main Mar 13, 2023
@PSeitz PSeitz deleted the fix_clippy branch March 13, 2023 02:12
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.

3 participants