235
you are viewing a single comment's thread
view the rest of the comments
[-] 30p87@feddit.org 5 points 1 week 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 1 week 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
235 points (97.6% liked)

Programmer Humor

32692 readers
310 users here now

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

Rules:

founded 5 years ago
MODERATORS