• BB_C@programming.dev
    link
    fedilink
    arrow-up
    1
    ·
    18 days ago

    Cow does not work when you are actually required to return a reference

    What does that even mean? Can you provide a practical example?

    (I’m assuming you’re familiar with Deref and autoref/autoderef behaviors in Rust.)