Skip to main content

one_of

Function one_of 

Source
pub fn one_of<I, S>(accepted: I) -> Answer
where I: IntoIterator<Item = S>, S: Into<String>,
Expand description

The answer must equal one of the accepted values.