Skip to content

Commit 951f382

Browse files
authored
Merge pull request #964 from vladikoff/patch-1
Make structs style consistent
2 parents ed353e9 + 33b053f commit 951f382

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
@@ -11,7 +11,7 @@ There are three types of structures ("structs") that can be created using the
1111
#[derive(Debug)]
1212
struct Person<'a> {
1313
name: &'a str,
14-
age: u8
14+
age: u8,
1515
}
1616
1717
// A unit struct

0 commit comments

Comments
 (0)