Skip to content

Commit 87b62dd

Browse files
authored
Merge pull request #1420 from 4geru/fix_rect_angle_name_in_structs_md
fix name from rectangle to Rectangle
2 parents 1ee3fd0 + 8e2c325 commit 87b62dd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/custom_types/structs.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ fn main() {
8686

8787
### Activity
8888

89-
1. Add a function `rect_area` which calculates the area of a rectangle (try
89+
1. Add a function `rect_area` which calculates the area of a `Rectangle` (try
9090
using nested destructuring).
9191
2. Add a function `square` which takes a `Point` and a `f32` as arguments, and
9292
returns a `Rectangle` with its lower left corner on the point, and a width and

0 commit comments

Comments
 (0)