Comment by maleldil
6 days ago
This operator exists as a macro in rust as dbg[1]. I know this wasn't the point of your comment; I just thought it was a funny coincidence.
6 days ago
This operator exists as a macro in rust as dbg[1]. I know this wasn't the point of your comment; I just thought it was a funny coincidence.
Yup.
But 1) `dbg!(·)` uses normal syntax and 2) my expository version is two characters shorter. :)