this post was submitted on 13 Jun 2024
517 points (100.0% liked)

Programmer Humor

22469 readers
881 users here now

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

founded 2 years ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[โ€“] [email protected] 14 points 10 months ago (1 children)

Afaik rust doesn't have functions like that as they lead to unsafe code that's impossible to check variable lifetimes for. I think OP created the jump function.

[โ€“] [email protected] 13 points 10 months ago

They created it. The compiler says the jump function is in src/main.rs