orx-parallel 3.4.0

High performance, configurable and expressive parallel computation library.
Documentation
1
2
3
4
5
6
pub fn sort_if_ok<T: Ord + PartialOrd, E>(res_vec: Result<Vec<T>, E>) -> Result<Vec<T>, E> {
    res_vec.map(|mut x| {
        x.sort();
        x
    })
}