This PR makes the change of adding "use" to the std::collections::VecDeque import (located in content/blog/2015-05-02-a-journey-into-iterators/index.md) so that the code compiles fine.
Previously since the use was not included the compile would fail with an error:
error: expected one of `!` or `::`, found `;`
--> src/main.rs:1:27
|
1 | std::collections::VecDeque;
| ^ expected one of `!` or `::`
This PR makes the change of adding "
use
" to thestd::collections::VecDeque
import (located incontent/blog/2015-05-02-a-journey-into-iterators/index.md
) so that the code compiles fine.Previously since the use was not included the compile would fail with an error:
Reference: Playground
With the fix now the VecDeque compiles & runs fine:
Refrence: Playground