-
Since both Mutex and RWLock can be used to get mutable reference, is it possible to extend `ARef` to support getting mutable references as well?
-
Not a actually bug, but a strange warning....
I registered my hooks with the following line
```rust
static mut HOOKS: AnonHook = AnonHook { };
pgrx::hooks::register_hook(&mu…
-
I'd like to write my own dnsapi script for a specific cloud hoster, and have to save and load the value of a variable with dynamically generated name. This variable name will be generated at runtime.
…
woxxo updated
2 weeks ago
-
Hi, very cool project! Would it be possible to implement dynamic/mutable map projections for feature layers?
Use cases include:
- Dynamic change of projection parameters (e.g. rotation)
- Dynami…
-
The main Idea is to be able to do this
```rust
let mut test_vec = Vec3::ZERO;
*test_vec.xy_mut() = Vec2::ONE;
assert_eq!(test_vec, Vec3::new(1.0, 1.0, 0.0))
```
Here is something that works, but…
-
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
2 weeks ago
-
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
-
Why is this happening?
```m2
i1 : X = Proj QQ[x];
i2 : X.sheaf ??= ring X
o2 = QQ[x]
o2 : PolynomialRing
i3 : X.sheaf ??= ring X
stdio:3:9:(3): error: expected method to be a function o…
-
auto-reduced (treereduce-rust):
````rust
struct Thingu {
Thingux: [X; -const {-X}] match ,
y: u32
}
````
original:
````rust
struct Thingu {
Thingux: [X; -const {…
-
# 🐛 Bug
```
fun lifted_lambda(ap: &mut u64, z: u64): u64 {
*ap = *ap + 1;
z * *ap
}
entry fun foo2(): u64 {
let a = 2;
let z = 3;
lifte…