Apoplexy@lemmy.world to Rust@programming.devEnglish · 5 days agoTracking issue for RFC 3681: Default field values · Issue #132162 · rust-lang/rustgithub.comexternal-linkmessage-square6fedilinkarrow-up131arrow-down11
arrow-up130arrow-down1external-linkTracking issue for RFC 3681: Default field values · Issue #132162 · rust-lang/rustgithub.comApoplexy@lemmy.world to Rust@programming.devEnglish · 5 days agomessage-square6fedilink
minus-squareSorteKanin@feddit.dklinkfedilinkarrow-up2·2 days agoThink you would need Movie { title: "Star Wars".to_owned(), .. }, the .. is mandatory.
minus-squared_k_bo@feddit.orglinkfedilinkarrow-up2·2 days agoThanks, that was an oversight on my part.
Think you would need
Movie { title: "Star Wars".to_owned(), .. }
, the..
is mandatory.Thanks, that was an oversight on my part.