@brainlessbitch@brainless.social
Post #2040061
2026-05-05 19:02 UTC
it doesn't know why, but it really hates that entities will do
match x {
_ => {}
}
instead of
match x {
_ => ()
}
why declare an empty scope that just returns a () instead of just declaring a ()???
Replies (3)
-
@brainlessbitch@brainless.social 2026-05-05 19:04
one is just abstracting away the best type ever, the glorious unit!!
-
@niko@gts.niko.lgbt 2026-05-05 19:26
@brainlessbitch i do the former because it’s consistent with other match arms
-
@zeichenreihe@blobfox.coffee 2026-05-05 19:27
@brainlessbitch i'm also guilty of this :3 but most of the time only for messing around