1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
use crate::bit::Bit;
use crate::core::{Command, Runner, State};
use crate::list::List;

/// End-of-file command. Returns current state.
pub struct EOF;

impl Command for EOF {}

impl<Left, Value, Right> Runner<Left, Value, Right> for EOF
where
    Left: List,
    Value: Bit,
    Right: List,
{
    type Run = State<Left, Value, Right>;
}