Loading RustViz Engine...
Implement a 1-item lookahead iterator buffer without consuming the stream.
This problem is currently in blueprint template mode. Once the concept foundation is finalized, live in-browser WebAssembly compilation and test assertion runners will be enabled here.
pub struct MyPeekable<I: Iterator> {
iter: I,
peeked: Option<Option<I::Item>>,
}