News for hackers. Stuff that matters.
Re:Rust Weird Expressions by berkes on Friday May 14, 2021 @07:48AM (#27153190)
Me neither. But I'd guess it's to test (or explain, or document) edge-cases or unexpected behaviour when using Rust std.
Re:Rust Weird Expressions by Minor49er on Friday May 14, 2021 @08:18AM (#27153412)
I've seen those sorts of things in other languages, though they're often accompanied by explanatory comments, if not a separate document. Given that these appear to be in a test suite for Rust itself, I'm surprised that these aren't explained in the code (at least as far as I saw)