Because you don’t control third party libraries
Because you don’t control third party libraries
A scope groups the initialization visually together, while adding the let app = app;
feels like it just adds clutter - I’d probably just leave it mut in that case.
You can have setters that set private fields, there are also sometimes structs with mixed private and public fields
Yeah if you have the second option, use it, but if the struct has private fields it won’t work.
If you’re ever forced to do something the second way, you can also wrap it in braces, that way you end up with an immutable value again:
let app = {
let mut app = ...
...
app
};
Definitely the second one.
I don’t think this will ever be used to recycle micro plastics. Just grinding up plastic is way more economical.
deleted by creator
I mean you’d still expect that critical security fixes would land in testing, no?