about summary refs log tree commit diff
path: root/compiler/rustc_llvm/llvm-wrapper/Linker.cpp
diff options
context:
space:
mode:
authorRyan Lopopolo <rjl@hyperbo.la>2021-05-15 10:37:05 -0700
committerRyan Lopopolo <rjl@hyperbo.la>2021-05-15 10:37:05 -0700
commit963bd3b643bae735cc46f8637e744163576244ea (patch)
treec69b682cff8fc07da81122363dcf40b94afb1e4f /compiler/rustc_llvm/llvm-wrapper/Linker.cpp
parent2a245f40a19c9a60b3be33c959eb5cfb0ad163c6 (diff)
downloadrust-963bd3b643bae735cc46f8637e744163576244ea.tar.gz
rust-963bd3b643bae735cc46f8637e744163576244ea.zip
Implement more Iterator methods on core::iter::Repeat
`core::iter::Repeat` always returns the same element, which means we can
do better than implementing most `Iterator` methods in terms of
`Iterator::next`.

Fixes #81292.
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/Linker.cpp')
0 files changed, 0 insertions, 0 deletions