correct 0.1.1

A number wrapper that has correct bitwise shift behaviors rather than the primitives in rust language.
Documentation
1
2
3
4
5
6
7
8
9
10
use crate::Correct;

#[test]
fn it_works() {
    let mut a = Correct(1u8);
    a += 1;
    assert_eq!(a, 2);
    assert_eq!(a << 2, 8u8);
    assert_eq!(a << 8, 0u8);
}