Skip to content

Commit ad5ff96

Browse files
committed
Fix spacing
1 parent 7098375 commit ad5ff96

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

Rust/1-struct.rs

+5-5
Original file line numberDiff line numberDiff line change
@@ -15,14 +15,14 @@ fn main() {
1515
name: String::from("Marcus"),
1616
city: String::from("Roma"),
1717
born: Date {
18-
day: 26,
19-
month: 4,
20-
year: 121,
18+
day: 26,
19+
month: 4,
20+
year: 121,
2121
},
2222
};
2323

2424
println!(
25-
"Name: {}\nCity: {}\nBorn: {}-{}-{}\n",
26-
p1.name, p1.city, p1.born.year, p1.born.month, p1.born.day
25+
"Name: {}\nCity: {}\nBorn: {}-{}-{}\n",
26+
p1.name, p1.city, p1.born.year, p1.born.month, p1.born.day
2727
);
2828
}

0 commit comments

Comments
 (0)