We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 1ee3fd0 + 8e2c325 commit 87b62ddCopy full SHA for 87b62dd
src/custom_types/structs.md
@@ -86,7 +86,7 @@ fn main() {
86
87
### Activity
88
89
-1. Add a function `rect_area` which calculates the area of a rectangle (try
+1. Add a function `rect_area` which calculates the area of a `Rectangle` (try
90
using nested destructuring).
91
2. Add a function `square` which takes a `Point` and a `f32` as arguments, and
92
returns a `Rectangle` with its lower left corner on the point, and a width and
0 commit comments