These are two small things that I keep running across and are off-topic for other PR's, and two small for their own PR. But if it's ever getting it fixed... here is a PR.
as_ref is stable as of 1.65
<1, >=2, <=2, >3 is tricky to parse visually. My brain keeps trying to figure out what (<1 and >=2) or (<=2 and >3) means. The core issue is that , sometimes means and and other times means or. So this changes to using | for or.
These are two small things that I keep running across and are off-topic for other PR's, and two small for their own PR. But if it's ever getting it fixed... here is a PR.
<1, >=2, <=2, >3
is tricky to parse visually. My brain keeps trying to figure out what(<1 and >=2) or (<=2 and >3)
means. The core issue is that,
sometimes meansand
and other times meansor
. So this changes to using|
for or.