Correct failing book test

This commit is contained in:
Panashe M. Fundira 2016-08-22 12:10:02 -04:00
parent a5a5c1074e
commit 3da5f9327a
No known key found for this signature in database
GPG Key ID: ABD6E90F51BF74B5

View File

@ -52,6 +52,12 @@ implementing this trait passed as a parameter. `Self`, `&Self` or `&mut Self`
may be used depending on the level of ownership required.
```rust
struct Circle {
x: f64,
y: f64,
radius: f64,
}
trait HasArea {
fn area(&self) -> f64;