about summary refs log tree commit diff
path: root/src/rustllvm/RustWrapper.cpp
diff options
context:
space:
mode:
authorAlex Crichton <alex@alexcrichton.com>2014-12-15 09:06:06 -0800
committerAlex Crichton <alex@alexcrichton.com>2014-12-15 12:20:47 -0800
commitc9ea7c9a58bc2bcfe77d264cedaeca5a3296634a (patch)
tree31c2d7bf5821f59511938a9080fab250fe5c59d1 /src/rustllvm/RustWrapper.cpp
parentef0bc464af110d24d4663fbe51eca3646a897308 (diff)
downloadrust-c9ea7c9a58bc2bcfe77d264cedaeca5a3296634a.tar.gz
rust-c9ea7c9a58bc2bcfe77d264cedaeca5a3296634a.zip
serialize: Change some FnOnce bounds to FnMut
Relax some of the bounds on the decoder methods back to FnMut to help accomodate
some more flavorful variants of decoders which may need to run the closure more
than once when it, for example, attempts to find the first successful enum to
decode.

This a breaking change due to the bounds for the trait switching, and clients
will need to update from `FnOnce` to `FnMut` as well as likely making the local
function binding mutable in order to call the function.

[breaking-change]
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions