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

refactor(data_structures): remove is_empty methods for non-empty stacks #6219

Commits on Oct 1, 2024

  1. refactor(data_structures): remove is_empty methods for non-empty st…

    …acks (#6219)
    
    Remove `SparseStack::is_empty` method. It's pointless as the stack is never empty.
    
    Add a dummy `NonEmptyStack::is_empty` method that always returns `false`. This is also pointless, but it overrides `slice::is_empty` which is otherwise accessible via `Deref`.
    overlookmotel committed Oct 1, 2024
    Configuration menu
    Copy the full SHA
    147a5d5 View commit details
    Browse the repository at this point in the history