about summary refs log tree commit diff
path: root/tests/codegen/src-hash-algorithm
diff options
context:
space:
mode:
authorYuki Okushi <jtitor@2k36.org>2021-04-24 03:44:04 +0900
committerGitHub <noreply@github.com>2021-04-24 03:44:04 +0900
commit5b7c98676f66122705da47f2ef68bbd47e9a9460 (patch)
treedab82d6642fa12ad27a5c290fabfb08a24f9f523 /tests/codegen/src-hash-algorithm
parentdcb4083ed94d0c14be8f731fca54b4c94fab6b64 (diff)
parentf505d619c4334a34a83fc7918acbf8bad389850f (diff)
downloadrust-5b7c98676f66122705da47f2ef68bbd47e9a9460.tar.gz
rust-5b7c98676f66122705da47f2ef68bbd47e9a9460.zip
Rollup merge of #84248 - calebsander:refactor/vec-functions, r=Amanieu
Remove duplicated fn(Box<[T]>) -> Vec<T>

`<[T]>::into_vec()` does the same thing as `Vec::from::<Box<[T]>>()`, so they can be implemented in terms of each other. This was the previous implementation of `Vec::from()`, but was changed in #78461. I'm not sure what the rationale was for that change, but it seems preferable to maintain a single implementation.
Diffstat (limited to 'tests/codegen/src-hash-algorithm')
0 files changed, 0 insertions, 0 deletions