diff options
| author | Manish Goregaokar <manishsmail@gmail.com> | 2015-03-19 06:08:37 +0530 |
|---|---|---|
| committer | Manish Goregaokar <manishsmail@gmail.com> | 2015-03-19 08:24:36 +0530 |
| commit | 05354e852235c97d5231d71aeed75114fc55b59f (patch) | |
| tree | 0c73cf9db22ab42e88aab0a13bb3dcc94f53908d /src/rustllvm/ExecutionEngineWrapper.cpp | |
| parent | 48df3fb678d0a6a3eb1407410673de7ef8a1ae2f (diff) | |
| parent | 7c333e99bffd4d93a17b0db3495b30e0a8552b5b (diff) | |
| download | rust-05354e852235c97d5231d71aeed75114fc55b59f.tar.gz rust-05354e852235c97d5231d71aeed75114fc55b59f.zip | |
Rollup merge of #23462 - alexcrichton:stabilize-cloned, r=aturon
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
