Colorblind or not, I think relying on the color to distinguish between io::Result
and result::Result
is insufficient, let alone the fact that the orange and red are barely distinguishable even for those with full color vision. I never know whether an orange Result
is an io::Result
or some custom alias!
IMO, it would be preferable for the documentation to (1) prefix ambiguous names (i.e. anything that is reused within the same crate or std) with some prefix and to (2) show the fully qualified name upon hover (and make it work on mobile too!).