Rust icon indicating copy to clipboard operation
Rust copied to clipboard

Linked List implementation is unsound

Open CordlessCoder opened this issue 3 years ago • 3 comments

  • get* methods conjure 'static references that can be held beyond the lifetime of the list, which is unsound
  • get* methods take a mutable reference, which is unnecessary
  • no get_mut methods
  • incorrectly uses i32 for indexing instead of usize

CordlessCoder avatar Oct 03 '23 08:10 CordlessCoder

I will attempt to address these in a PR

CordlessCoder avatar Oct 03 '23 08:10 CordlessCoder

This issue has been automatically marked as abandoned because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

github-actions[bot] avatar Nov 03 '23 00:11 github-actions[bot]

Please ping one of the maintainers once you add more information and updates here. If this is not the case and you need some help, feel free to ask for help in our Gitter channel. Thank you for your contributions!

github-actions[bot] avatar Nov 10 '23 00:11 github-actions[bot]