Skip to content

Example doubly_linked_list.rs is broken #147

@grothesque

Description

@grothesque

Said example has been broken since commit cd8ed85. Curiously, the title of that commit is “Updated examples.” Has no one bothered to run the example after it has bee modified?

% cargo run --example doubly_linked_list
   Compiling slotmap v1.1.1 (/tmp/slotmap)
    Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.39s
     Running `target/debug/examples/doubly_linked_list`

thread 'main' (22205) panicked at examples/doubly_linked_list.rs:124:5:
assertion `left == right` failed
  left: 5
 right: 4

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions