about summary refs log tree commit diff
path: root/compiler/rustc_llvm/llvm-wrapper/CoverageMappingWrapper.cpp
diff options
context:
space:
mode:
authorMara Bos <m-ou.se@m-ou.se>2021-01-14 18:00:06 +0000
committerGitHub <noreply@github.com>2021-01-14 18:00:06 +0000
commit446ed771244812f9012ea78a48d6b932e34dad3a (patch)
treecf1dd35cf8e0306961d4206814e2723d796afc2d /compiler/rustc_llvm/llvm-wrapper/CoverageMappingWrapper.cpp
parent3308b43ba1adfda24beae60aae192dc570c64479 (diff)
parent9b2f085110c70a8ae92a47ce0c510db82f759992 (diff)
downloadrust-446ed771244812f9012ea78a48d6b932e34dad3a.tar.gz
rust-446ed771244812f9012ea78a48d6b932e34dad3a.zip
Rollup merge of #80567 - lukaslueg:intersperse_with, r=m-ou-se
Add Iterator::intersperse_with

This is a follow-up to #79479, tracking in #79524, as discussed https://github.com/rust-lang/rust/pull/79479#issuecomment-752671731.

~~Note that I had to manually implement `Clone` and `Debug` because `derive` insists on placing a `Clone`-bound on the struct-definition, which is too narrow. There is a long-standing issue # for this somewhere around here :-)~~

Also, note that I refactored the guts of `Intersperse` into private functions and re-used them in `IntersperseWith`, so I also went light on duplicating all the tests.

If this is suitable to be merged, the tracking issue should be updated, since it only mentions `intersperse`.

Happy New Year!

r? ``@m-ou-se``
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/CoverageMappingWrapper.cpp')
0 files changed, 0 insertions, 0 deletions