I'm facing a provided function that takes an Into<Option<bool>>
as a parameter but I want to pass it the opposite value of my current bool.
Have you tried opt.map(|b| !b)
?
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With