• trxxruraxvr@lemmy.world
    link
    fedilink
    arrow-up
    14
    ·
    5 months ago

    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.