fn main() { println!( "Partial sums of [5, 18, 3, 23] is : {:?}", parts_sums(&[5, 18, 3, 23]) ); }