Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
kobebrookskC3
· 9mo ago · 0 comments
but without macros, how would you expose a safe interface?
fn pin(x: T) -> Pin<&mut T> { ... }
would move the value
Comments
[–]
Philpax
9mo ago
Your macroless variant of Rust would offer a safe builtin that does this. It doesn't
need
to be implemented with a macro.