most efficient way to compute area
(&self)
| 27 | impl Area for Circle { |
| 28 | /// most efficient way to compute area |
| 29 | fn area(&self) -> f64 { |
| 30 | std::f64::consts::PI * (self.radius.powi(2)) |
| 31 | } |
| 32 | } |
| 33 | |
| 34 | /// Circle also supports circumference |
nothing calls this directly
no outgoing calls
no test coverage detected