bestelbus22@lemmy.world to Programmer Humor@lemmy.mlEnglish · 11 months agoThe meaning of thislemmy.mlimagemessage-square71linkfedilinkarrow-up1542arrow-down114
arrow-up1528arrow-down1imageThe meaning of thislemmy.mlbestelbus22@lemmy.world to Programmer Humor@lemmy.mlEnglish · 11 months agomessage-square71linkfedilink
minus-squareNatanoxlinkfedilinkEnglisharrow-up24·11 months agoRust: Borrow handler got mad at you for asking (I’d assume)
minus-squareSystemNeo@toast.ooolinkfedilinkEnglisharrow-up20·11 months agoIt’s either a reference to an object instance, or the instance itself (depending on whether you specified &mut self, &self or just self).
minus-squareferric_carcinization@lemmy.mllinkfedilinkEnglisharrow-up12·11 months agoDon’t forget Self, the type of self.
Rust: Borrow handler got mad at you for asking
(I’d assume)
It’s either a reference to an object instance, or the instance itself (depending on whether you specified
&mut self,&selfor justself).Don’t forget
Self, the type ofself.