summaryrefslogtreecommitdiff
path: root/tests/codegen/src-hash-algorithm/src-hash-algorithm-sha1.rs
diff options
context:
space:
mode:
authorMatthias Krüger <matthias.krueger@famsik.de>2021-10-23 05:28:26 +0200
committerGitHub <noreply@github.com>2021-10-23 05:28:26 +0200
commit270c800d358ee47f3aee6fe1e2ec4dc92616d55f (patch)
tree44be21de57be83c7ee4d198f16c9b940dc04c223 /tests/codegen/src-hash-algorithm/src-hash-algorithm-sha1.rs
parentc400feeb84f6164edd2d78607218ac8a58754cc3 (diff)
parentafcee19d88658e54f4a3c82892ba6d937e0f78d4 (diff)
downloadrust-270c800d358ee47f3aee6fe1e2ec4dc92616d55f.tar.gz
Rollup merge of #90117 - calebsander:fix/rsplit-clone, r=yaahc
Make RSplit<T, P>: Clone not require T: Clone This addresses a TODO comment. The behavior of `#[derive(Clone)]` *does* result in a `T: Clone` requirement. Playground example: https://play.rust-lang.org/?version=stable&mode=debug&edition=2018&gist=a8b1a9581ff8893baf401d624a53d35b Add a manual `Clone` implementation, mirroring `Split` and `SplitInclusive`. `(R)?SplitN(Mut)?` don't have any `Clone` implementations, but I'll leave that for its own pull request.
Diffstat (limited to 'tests/codegen/src-hash-algorithm/src-hash-algorithm-sha1.rs')
0 files changed, 0 insertions, 0 deletions