Skip to content

Commit 495fedb

Browse files
author
Jorge Aparicio
committed
Merge pull request #191 from justanotheranonymoususer/patch-7
Update tuples.rs (added semicolons)
2 parents f39d818 + dd45407 commit 495fedb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

examples/tuples/tuples.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,6 @@ fn main() {
3030

3131
// To create one element tuples, the comma is required to tell them apart
3232
// from a literal surrounded by parentheses
33-
println!("one element tuple: {}", (5u,))
34-
println!("just an integer: {}", (5u))
33+
println!("one element tuple: {}", (5u,));
34+
println!("just an integer: {}", (5u));
3535
}

0 commit comments

Comments
 (0)