-
I'm just creating this to kick off a high-level tracking ticket for this major capability. We will want to get a formal product/design spec for this written up jointly between engineering and @prodale…
-
### I tried this:
```js
let x = MutArray[[1, 2, 3]];
```
### This happened:
It raises the following error:
```
error: Expected type to be "MutArray", but got "Array" instead
--> main.w:1:33
…
-
if i have a function such as
f x()
can i reassign `x` ? and if so, what is its mutability ?
const var const x = 69
is this just undefined behaviour
-
```julia
julia> f(x) = sum(x)
f (generic function with 1 method)
julia> x = Hermitian(randn(2,2))
2×2 Hermitian{Float64, Matrix{Float64}}:
0.656689 -0.377647
-0.377647 -0.505356
julia>…
-
### Summary
Currently, FontProperties (FPs) are mutable, which makes caching based on them a bit tricky (#22323, #22487). Manipulation is also not so nice; e.g. the fonts_demo.py example needs to re…
-
As an app developer, I want to read multiple configuration values which belong together in an atomic way.
Often business logic doesn't only need a single value but multiple values which belong to e…
m0mus updated
3 months ago
-
we're not super clear on what can be mutated and what cannot be.
For example, can this function call mutate `thing`?
```rust
let mut thing = 5;
stuff(thing);
```
imo we should make mutabil…
mimoo updated
3 months ago
-
[See it on the Rust Playground](https://play.rust-lang.org/?version=stable&mode=debug&edition=2021&gist=544526a8248fa7aaa58d7780d08616f4)
```rust
use core::cell::UnsafeCell;
use zerocopy::AsBytes…
-
I'm trying to write future-proof code that asserts `matches!(field.mutability, FieldMutability::None)` and reports a nice error if it isn't `None`:
```rust
let Field { mutability, .. } = &mut field;…
-
Shouldn't WGPUChainedStruct be mutable since a pointer to it is needed in a lot of structs, including itself
```julia
struct WGPUChainedStruct
next::Ptr{WGPUChainedStruct}
sType::WGPUSType…