mirror of
https://github.com/rust-lang/rustlings.git
synced 2024-12-26 00:00:03 +03:00
Merge pull request #561 from notmatt/mbs-fixups
This commit is contained in:
commit
f38f42f17d
|
@ -8,9 +8,9 @@
|
||||||
#[test]
|
#[test]
|
||||||
fn indexing_tuple() {
|
fn indexing_tuple() {
|
||||||
let numbers = (1, 2, 3);
|
let numbers = (1, 2, 3);
|
||||||
/// Replace below ??? with the tuple indexing syntax.
|
// Replace below ??? with the tuple indexing syntax.
|
||||||
let second = ???;
|
let second = ???;
|
||||||
|
|
||||||
assert_eq!(2, second
|
assert_eq!(2, second,
|
||||||
"This is not the 2nd number in the tuple!")
|
"This is not the 2nd number in the tuple!")
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue