You can also use return
(x: i32, y: i32)
| 114 | |
| 115 | // You can also use return |
| 116 | fn get_sum_3(x: i32, y: i32) -> i32 { |
| 117 | return x + y; |
| 118 | } |
| 119 | |
| 120 | // Return multiple values |
| 121 | fn get_2(x: i32) -> (i32, i32){ |
nothing calls this directly
no outgoing calls
no test coverage detected