Skip to content

chore(theta): flatten preamble_longs branches for clippy#104

Merged
tisonkun merged 1 commit intoapache:mainfrom
Xuanwo:xuanwo/fix-theta-clippy-collapsible-else-if
Mar 2, 2026
Merged

chore(theta): flatten preamble_longs branches for clippy#104
tisonkun merged 1 commit intoapache:mainfrom
Xuanwo:xuanwo/fix-theta-clippy-collapsible-else-if

Conversation

@Xuanwo
Copy link
Member

@Xuanwo Xuanwo commented Mar 2, 2026

This PR fixes a local clippy -D warnings failure in CompactThetaSketch::preamble_longs caused by nested else { if ... } blocks (collapsible_else_if).
The change rewrites the same logic into a flat else if chain without changing branch outcomes.

@tisonkun tisonkun merged commit bf8438f into apache:main Mar 2, 2026
9 checks passed
@tisonkun tisonkun changed the title theta: flatten preamble_longs branches for clippy chore(theta): flatten preamble_longs branches for clippy Mar 2, 2026
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