Oh God the horrors. The only part of these errors I ever remembered was “basic_string” everything else was the syntactic gibberish you wonderfully demonstrated.
- 0 Posts
- 5 Comments
Joined 1 year ago
Cake day: February 6th, 2024
You are not logged in. If you use a Fediverse account that is able to follow users, you can follow this user.
Wappen@lemmy.worldto Programmer Humor@lemmy.ml•If AI can now speak Italian, it can certainly replace us...13·11 months agoNope, they replaced an asterisk with an arrow!
Wappen@lemmy.worldto Programmer Humor@programming.dev•What it's like to be a developer in 202461·1 year agoIt is but DirectX ain’t
Imagine the new colors we could discover
Equality in rust is value equality per default, that’s what these traits are for. If you want to check pointer equality you’d use the
std::ptr::eq
function to check if two pointers are equal, which is rather rare in practice. You can also implement thePartialEq
trait yourself if you need custom equality checks.