Skip to content

fix: remove unreachable EmptyRange variant and dead is_empty() check#2072

Open
operagxsasha wants to merge 1 commit into
0xMiden:nextfrom
operagxsasha:patch-1
Open

fix: remove unreachable EmptyRange variant and dead is_empty() check#2072
operagxsasha wants to merge 1 commit into
0xMiden:nextfrom
operagxsasha:patch-1

Conversation

@operagxsasha
Copy link
Copy Markdown

The EmptyRange error could never actually be returned is_empty() on a new range is true only when start end,
which the check above already handles.

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