remove uncessary collect vec
This commit is contained in:
parent
493a8d09a3
commit
9d40d8ae07
1 changed files with 1 additions and 1 deletions
|
@ -112,7 +112,7 @@ fn part2(input: String) -> Result<usize> {
|
|||
.split(',')
|
||||
.map(|s| s.parse::<usize>().unwrap())
|
||||
.collect_vec();
|
||||
let layout = std::iter::repeat(layout).take(5).collect_vec().join("?");
|
||||
let layout = std::iter::repeat(layout).take(5).join("?");
|
||||
let contiguous = std::iter::repeat(contiguous)
|
||||
.take(5)
|
||||
.flatten()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue