• voxel@sopuli.xyz
    link
    fedilink
    arrow-up
    6
    ·
    edit-2
    1 year ago

    yeah structs, consts ets should always be explicit, prevents a lot oh headache
    also, for adhoc stuff rust has closures which can be fully inferred (but you need to convert them to explicit function pointers for storage in structs/consts)