lint
This commit is contained in:
parent
4dcce6cfc2
commit
674b406c43
|
@ -60,7 +60,7 @@ fn main() {
|
||||||
println!("Median of input1 is {}", get_median(&input1));
|
println!("Median of input1 is {}", get_median(&input1));
|
||||||
match get_mode(&input1) {
|
match get_mode(&input1) {
|
||||||
Some(v) => println!("Mode of input1 is {:?}", v),
|
Some(v) => println!("Mode of input1 is {:?}", v),
|
||||||
None => println!("input1 has no mode.")
|
None => println!("input1 has no mode."),
|
||||||
}
|
}
|
||||||
|
|
||||||
println!("Vec input2 : {:?}", input2);
|
println!("Vec input2 : {:?}", input2);
|
||||||
|
@ -68,6 +68,6 @@ fn main() {
|
||||||
println!("Median of input2 is {}", get_median(&input2));
|
println!("Median of input2 is {}", get_median(&input2));
|
||||||
match get_mode(&input2) {
|
match get_mode(&input2) {
|
||||||
Some(v) => println!("Mode of input2 is {:?}", v),
|
Some(v) => println!("Mode of input2 is {:?}", v),
|
||||||
None => println!("input2 has no mode.")
|
None => println!("input2 has no mode."),
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue