Interval adapter for both open/closed implementations of intervals ( ranges ).
#[ cfg( feature = "use_std" ) ]
{
use winterval::*;
let src = 2..5;
assert_eq!( src.closed(), ( 2, 4 ) );
let src = 2..=4;
assert_eq!( src.closed(), ( 2, 4 ) );
}
cargo add winterval
git clone https://github.com/Wandalen/wTools
cd wTools
cd sample/rust/winterval_trivial
cargo run