-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
Accepts a list of possible input sequences. Returns one of the following:
- Ok(None) if the first character doesn't match any of the target first characters.
- Ok(Some) if the full sequence matches one of those provided.
- Err(Error) if part of a full sequence was matched.
pub fn expect(
&mut self,
expected: &'a [&'a [Character]],
) -> Result<Option<&'a [Character]>, Error> {
todo!()
}Metadata
Metadata
Assignees
Labels
No labels