Fix doctest (fixup #23188)
This commit is contained in:
parent
684cd77222
commit
3797827460
@ -71,6 +71,7 @@ impl Circle {
|
||||
fn takes_ownership(self) {
|
||||
println!("taking ownership of self!");
|
||||
}
|
||||
}
|
||||
```
|
||||
|
||||
Finally, as you may remember, the value of the area of a circle is `π*r²`.
|
||||
|
Loading…
x
Reference in New Issue
Block a user