Comment

Comment by oconnor663

> disable the move trait entirely and provide a utility function for move-like creation.

There's no way to disable moving in general. But there is the Pin trait, which prevents you from moving certain types in certain cases, mostly to do with async/await.

parent oconnor663 6 years ago

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton