3 ms·
but without macros, how would you expose a safe interface? fn pin(x: T) -> Pin<&mut T> { ... } would move the value
by kobebrookskC3 7mo ago
but without macros, how would you expose a safe interface?
fn pin(x: T) -> Pin<&mut T> { ... }
would move the value
- Philpax 7mo agoYour macroless variant of Rust would offer a safe builtin that does this. It doesn't need to be implemented with a macro.