Giooschi@lemmy.world to Rust@programming.devEnglish · 18 days agoA comparison of Rust's borrow checker to the one in C#em-tg.github.ioexternal-linkmessage-square5fedilinkarrow-up11arrow-down10
arrow-up11arrow-down1external-linkA comparison of Rust's borrow checker to the one in C#em-tg.github.ioGiooschi@lemmy.world to Rust@programming.devEnglish · 18 days agomessage-square5fedilink
minus-squareBB_C@programming.devlinkfedilinkarrow-up1·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.)
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.)