Skip to content
Free public beta until December 4, 2026: every course is open, no card needed. After that, the first chapter of each course stays free and full access is a one-time $39 ($19 for up to 100 founding members chosen for helpful feedback). Your progress is kept. How the beta works

move

Handing a value's ownership to another variable or function.

A move transfers ownership; the source binding can no longer be used (E0382 if it is).

Loading interactive…

Examples

  • let t = s; with s: String moves the string; printing s afterwards fails with E0382.

Read the full section →