3 ms·
The pattern you're looking for is: ``` fn operate_on_a(a: A) -> A { // do whatever as long as this scope still owns A a } ```
by theLiminator 1y ago
The pattern you're looking for is:
```
fn operate_on_a(a: A) -> A {
// do whatever as long as this scope still owns A
a
}
```