Skip to content

Make queue and stack immutable structs #587

Open

Description

@simonschoelly

Currently, queue and stack are both just wrappers around a dequeue. Apparently these wrappers are mutable structs. Would it make sense, to make them immutable? I don't see any use case, where someone should be able to exchange the wrapped dequeue.

Activity

  1. oxinabox commented on Mar 7, 2020

    @oxinabox
    Member

    Seems legit. Breaking, but legit.

  2. added this to the 1.0 milestone on Sep 4, 2020
  3. nsajko commented on Oct 1, 2026

    @nsajko
    Member

    More than just queue and stack are affected, see issue #988.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions