-
https://review.gerrithub.io/c/cue-labs/oci/+/1176886 implemented tag immutability in the ocimem package, but it defaults to tags being mutable due to backwards compatibility, which I think is a mistak…
mvdan updated
1 month ago
-
So... I've kinda considered this problem many times, https://github.com/madsmtm/objc2/issues/265 contains some of the previous discussion and my head contains even more, but I feel like we're still no…
-
**Describe the bug**
LinkedHashMap, HashMap is mutable with @freezed
**Expected behavior**
LinkedHashMap, HashMap must be immutable
-
### Summary
The `arcstr::ArcStr` type is interior mutable for its reference count, but provides a macro which can safely construct const instances. As of 1.81.0-nightly (59e2c01c2 2024-06-17), presum…
-
https://github.com/embassy-rs/embassy/blob/377e58e408f830f79171a470ba602b7d8bc525e4/examples/rp/src/bin/multicore.rs#L33
```
warning: mutable reference of mutable static is discouraged
--> src/…
-
On the call yesterday, the topic of mutability came up in the vaex demo.
The short version is that it may be difficult or impossible for some systems to implement inplace mutation of dataframes. Fo…
-
When I call `std::mem::drop` on a mutable reference, this is supposed to consume the reference and make it unavailable to following code. And indeed it does, because any following uses trigger a "use …
-
### Description
Mutable default arguments is a common anti-pattern in Python. See https://docs.python-guide.org/writing/gotchas/#mutable-default-arguments for details. We should prevent using it in f…
-
The default implementations of `toImmutable[List/Set/Bag]` are suboptimal for `LazyIterable`. Calls to `isEmpty` or `size` should be avoided for `LazyIterable` as they will force iteration to happen. …
-
When I run the example project on my android device then app crashes on launch and logs :
`Targeting S+ (version 31 and above) requires that one of FLAG_IMMUTABLE or FLAG_MUTABLE be specified when cr…