fn merge_limits(limits_set: &[Limits]) -> Limits {
    let mut res = Limits::default();
    for lim in limits_set {
        merge_option(&mut res.memory, lim.memory);
        merge_option(&mut res.process_count, lim.process_count);
        merge_option(&mut res.time, lim.time);
    }
    res
}
/// Merges several `Limits` object. Last element of slice will have maximal proirity.
Merges several `Limits` object. Last element of slice will have maximal proirity.
Merges several ` Limits ` object . Last element of slice will have maximal proirity .
fn merge_limits(limits_set: &[Limits]) -> Limits {
    let mut res = Limits::default();
    for lim in limits_set {
        merge_option(&mut res.memory, lim.memory);
        merge_option(&mut res.process_count, lim.process_count);
        merge_option(&mut res.time, lim.time);
    }
    res
}
fn merge_limits ( limits_set : & [ Limits ] ) -> Limits { let mut res = Limits :: default ( ) ; for lim in limits_set { merge_option ( & mut res . memory , lim . memory ) ; merge_option ( & mut res . process_count , lim . process_count ) ; merge_option ( & mut res . time , lim . time ) ; } res }
Merges several `Limits` object.
Merges several ` Limits ` object .
limits_set
&[Limits]