Update rustfmt to 0.8.4; (#81)
This commit is contained in:
committed by
Jakob Stoklund Olesen
parent
232fb36d8f
commit
29dc723e25
@@ -65,17 +65,9 @@ mod tests {
|
||||
.adjacent_pairs()
|
||||
.collect::<Vec<_>>(),
|
||||
vec![(2, 3), (3, 4)]);
|
||||
assert_eq!([3, 4]
|
||||
.iter()
|
||||
.cloned()
|
||||
.adjacent_pairs()
|
||||
.collect::<Vec<_>>(),
|
||||
assert_eq!([3, 4].iter().cloned().adjacent_pairs().collect::<Vec<_>>(),
|
||||
vec![(3, 4)]);
|
||||
assert_eq!([4]
|
||||
.iter()
|
||||
.cloned()
|
||||
.adjacent_pairs()
|
||||
.collect::<Vec<_>>(),
|
||||
assert_eq!([4].iter().cloned().adjacent_pairs().collect::<Vec<_>>(),
|
||||
vec![]);
|
||||
assert_eq!([]
|
||||
.iter()
|
||||
|
||||
Reference in New Issue
Block a user