about summary refs log tree commit diff
path: root/src/test/codegen/src-hash-algorithm/src-hash-algorithm-sha1.rs
diff options
context:
space:
mode:
authorDylan DPC <dylan.dpc@gmail.com>2020-02-20 10:49:08 +0100
committerGitHub <noreply@github.com>2020-02-20 10:49:08 +0100
commitf7ce5ff19c801a08c7b5aa2ff6f7f552e9de4a39 (patch)
treec85d40526c5596303aeac01d5f4a38e816bc3532 /src/test/codegen/src-hash-algorithm/src-hash-algorithm-sha1.rs
parentde362d88ea17ab23ca2483cb798bc7aeb81a48f5 (diff)
parentc797ce7877dff9189d828247493dfcada9c10e43 (diff)
downloadrust-f7ce5ff19c801a08c7b5aa2ff6f7f552e9de4a39.tar.gz
rust-f7ce5ff19c801a08c7b5aa2ff6f7f552e9de4a39.zip
Rollup merge of #68705 - BijanT:ll_remove, r=Mark-Simulacrum
Add LinkedList::remove()

LinkedList::remove() removes the element at the specified index and returns it.

I added this because I think having a remove function would be useful to have, and similar functions are in other containers, like Vec and HashMap.

I'm not sure if adding a feature like this requires an RFC or not, so I'm sorry if this PR is premature.
Diffstat (limited to 'src/test/codegen/src-hash-algorithm/src-hash-algorithm-sha1.rs')
0 files changed, 0 insertions, 0 deletions