about summary refs log tree commit diff
path: root/src/rustllvm/RustWrapper.cpp
diff options
context:
space:
mode:
authorAlex Crichton <alex@alexcrichton.com>2015-01-05 18:37:18 -0800
committerAlex Crichton <alex@alexcrichton.com>2015-01-05 18:37:18 -0800
commitca40fe0f5e8085070f1bb678cba1ea85a09942b1 (patch)
tree29b7ce86a3c8734e3d70b08694dc1a54033447fa /src/rustllvm/RustWrapper.cpp
parent38d81baec8c02847526f5c440434b59b22ebeaa5 (diff)
parent6ca1f0c6ea61760138c7e3cb4c14fa3be71c7414 (diff)
downloadrust-ca40fe0f5e8085070f1bb678cba1ea85a09942b1.tar.gz
rust-ca40fe0f5e8085070f1bb678cba1ea85a09942b1.zip
rollup merge of #20483: nagisa/rng-copy
* Implement (derive) `Clone` for `ChaChaRng`, `Isaac*Rng`, `StdRng` and `ThreadRng`;
* Derive `XorShiftRng` `Clone` implementation instead of implementing it explicitly.

`OsRng` is the only Rng which does not implement `Clone` or `Copy` after this patch because of its dependence on `Reader`.

r? @huonw I guess?
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions