misu 0.1.0-alpha.0

Util to help you Make Illegal States Unpresentable
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
use std::marker::PhantomData;

pub struct ValidStr<V>(Box<str>, PhantomData<V>);


#[cfg(test)]
mod tests {
    #[test]
    fn it_works() {
        assert_eq!(2 + 2, 4);
    }
}