| 2 | 2.3 + 6.5i*/ |
| 3 | fn main() { |
| 4 | struct Complex { |
| 5 | re: f64, |
| 6 | im: f64, |
| 7 | } |
| 8 | fn add_complex(lhs: Complex, rhs: Complex) -> Complex { |
| 9 | Complex { re: lhs.re + rhs.re, im: lhs.im + rhs.im } |
| 10 | } |
nothing calls this directly
no outgoing calls
no test coverage detected