about summary refs log tree commit diff
path: root/src/rustllvm/ExecutionEngineWrapper.cpp
diff options
context:
space:
mode:
authorAlex Crichton <alex@alexcrichton.com>2015-03-17 16:45:56 -0700
committerAlex Crichton <alex@alexcrichton.com>2015-03-17 18:05:58 -0700
commit7c333e99bffd4d93a17b0db3495b30e0a8552b5b (patch)
tree943c1e4cbbe896825ed6441d6482ac8c7e8b257e /src/rustllvm/ExecutionEngineWrapper.cpp
parentbfac337daab9b86971bcb3db61382ac44f94621c (diff)
downloadrust-7c333e99bffd4d93a17b0db3495b30e0a8552b5b.tar.gz
rust-7c333e99bffd4d93a17b0db3495b30e0a8552b5b.zip
std: Stabilize `IteratorExt::cloned`
This commit stabilizes the `cloned` iterator after tweaking the signature to
require that the iterator is over `&T` instead of `U: Deref<T>`. This method has
had time to bake for awhile now and it's not clear whether the `Deref` bound is
worth it. Additionally, there aren't clear conventions on when to bound and/or
implement the `Deref` trait, so for now the conservative route is to require
references instead of `U: Deref<T>`.

To change this signature to using `Deref` would technically be a
backwards-incompatible change, but it is doubtful that any code will actually
break in practice.
Diffstat (limited to 'src/rustllvm/ExecutionEngineWrapper.cpp')
0 files changed, 0 insertions, 0 deletions