Skip to content

Commit 4d8d99b

Browse files
author
Nix
committed
Fix markdown lint and line wrap in structs.md
1 parent 501e627 commit 4d8d99b

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

src/custom_types/structs.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -88,9 +88,11 @@ fn main() {
8888

8989
1. Add a function `rect_area` which calculates the area of a rectangle (try
9090
using nested destructuring).
91-
2. Add a function `square` which takes a `Point` and a `f32` as arguments, and returns a `Rectangle` with its lower left corner on the point, and a width and height corresponding to the `f32`.
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
93+
height corresponding to the `f32`.
9294

93-
### See also:
95+
### See also
9496

9597
[`attributes`][attributes], and [destructuring][destructuring]
9698

0 commit comments

Comments
 (0)