243
submitted 2 weeks ago by Maven@lemmy.zip to c/programmerhumor@lemmy.ml
you are viewing a single comment's thread
view the rest of the comments
[-] 30p87@feddit.org 5 points 2 weeks ago

Does that random 'true' at the end of the function have any purpose? Idk that weird ass language well

[-] Maven@lemmy.zip 14 points 2 weeks ago

It's the default return. In rust a value without a ; at the end is returned.

this post was submitted on 05 Dec 2024
243 points (97.3% liked)

Programmer Humor

32707 readers
1401 users here now

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

founded 5 years ago
MODERATORS