• calcopiritus@lemmy.world
    link
    fedilink
    arrow-up
    18
    ·
    8 months ago

    If you mean lambdas like in python where you say lambda x: x+1, they are called closures in rust, try searching for that instead.