2 stable releases
1.0.1 | Apr 16, 2023 |
---|
9KB
281 lines
sub_if
Doesn't only have sub_if
!
A crate to make it so you don't have to do things like:
let x = if condition {
a - b
} else {
a
};
And can rather do:
let x = a.sub_if(condition, &b);