cli-timer 0.3.84

Program used to set a timer.
1
2
3
4
5
6
7
8
9
10
// IsIn trait reverses the argument positions of the "contains()" function
pub trait IsIn {
    fn is_in(&self, string: &str) -> bool;
}

impl IsIn for str {
    fn is_in(&self, string: &str) -> bool {
        string.contains(self)
    }
}