Y
Hacker News
new
|
ask
|
show
|
jobs
by
kobebrookskC3
104 days ago
but without macros, how would you expose a safe interface?
fn pin(x: T) -> Pin<&mut T> { ... }
would move the value
1 comments
Philpax
104 days ago
Your macroless variant of Rust would offer a safe builtin that does this. It doesn't
need
to be implemented with a macro.
link