Rewording according to fmoko suggestion.
This commit is contained in:
parent
ddb23f17b8
commit
1b2ece2186
|
@ -8,9 +8,9 @@
|
||||||
#[test]
|
#[test]
|
||||||
fn indexing_tuple() {
|
fn indexing_tuple() {
|
||||||
let numbers = (1, 2, 3);
|
let numbers = (1, 2, 3);
|
||||||
/// Replace below ??? by 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 of the tuple numbers")
|
"This is not the 2nd number in the tuple!")
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue