The link in the docs leads to the VS 2015 documentation, so there are a few modern variants missing. I updated the doc link and added the new variants (notably includes Rust and Go) and updated the Display and From<u8> impls accordingly
I also noticed some repeated macro usage in the Display impl. Consolidating to 1 write!() expansion should save the compiler some minuscule amount of time.
The link in the docs leads to the VS 2015 documentation, so there are a few modern variants missing. I updated the doc link and added the new variants (notably includes
Rust
andGo
) and updated theDisplay
andFrom<u8>
impls accordinglyI also noticed some repeated macro usage in the
Display
impl. Consolidating to 1write!()
expansion should save the compiler some minuscule amount of time.