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(rust): Solve inconsistency bewteen code and comment #15983

Closed

Conversation

YichiZhang0613
Copy link
Contributor

@YichiZhang0613 YichiZhang0613 commented May 1, 2024

This PR fixed some inconsistency between code and comment in #15968.

Closes #15968

@github-actions github-actions bot added fix Bug fix rust Related to Rust Polars labels May 1, 2024
Copy link
Collaborator

@orlp orlp left a comment

Choose a reason for hiding this comment

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

Please remove the extra assertions that are already done by Index. As I said, those implicit assertions are fine, just update the incorrect comments.

Copy link

codecov bot commented May 1, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 80.96%. Comparing base (c9e786b) to head (bcc18b7).
Report is 7 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main   #15983      +/-   ##
==========================================
+ Coverage   74.36%   80.96%   +6.60%     
==========================================
  Files        1367     1384      +17     
  Lines      169193   178151    +8958     
  Branches     3043     3043              
==========================================
+ Hits       125818   144243   +18425     
+ Misses      42892    33427    -9465     
+ Partials      483      481       -2     
Flag Coverage Δ
python 74.46% <ø> (+0.10%) ⬆️
rust 78.10% <ø> (+6.75%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

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

crates/polars-arrow/src/array/dictionary/mod.rs Outdated Show resolved Hide resolved
crates/polars-arrow/src/array/primitive/mod.rs Outdated Show resolved Hide resolved
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
fix Bug fix rust Related to Rust Polars
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Inconsistency between code and comment
2 participants