mcc @mcc@mastodon.social · activity timestamp 12 min. ago let vararg = vararg; // A very reasonable line of Rust code I just wrote Read more Read less Translate Translate Reply Boost Quote Like More actions Copy link Share View remotely Get latest replies Flag this post Block
Briala @static@aus.social · activity timestamp 11 min. ago @mcc Lemme guess... it makes a mutable version of an immutable variable with the same name? Read more Read less Translate Translate Reply Boost Quote Like More actions Copy link Share Flag this comment Block
mcc @mcc@mastodon.social · activity timestamp 10 min. ago @static Good guess! In fact it's the exact opposite. Read more Read less Translate Translate Reply Boost Quote Like More actions Copy link Share Flag this comment Block
Briala @static@aus.social · activity timestamp 9 min. ago @mcc Oh... makes a mutable variable immutable. I can see that would be more useful, but I obviously don't know Rust well enough! Read more Read less Translate Translate Reply Boost Quote Like More actions Copy link Share Flag this comment Block
mcc @mcc@mastodon.social · activity timestamp 6 min. ago @static Most languages default mutable and require a keyword for immutable but Rust is the opposite Read more Read less Translate Translate Reply Boost Quote Like More actions Copy link Share Flag this comment Block
@mcc Lemme guess... it makes a mutable version of an immutable variable with the same name?