• calcopiritus@lemmy.world
    link
    fedilink
    arrow-up
    23
    ·
    7 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.