The code from the answer is flagged as
error[E0015]: cannot call non-const formatting macro in constants
--> src/lib.rs:42:27
|
42 | Err(_) => unreachable!("Buffer is always ascii")
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Is it because it is nightly? How can I get rid of it?