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

From and Into

Conversions that can never lose information.

From/Into implement infallible conversions, such as u8 to u32.

Examples

  • i64::from(small) and let big: i64 = small.into(); always work for an i32, but i32::from(big) with big: i64 fails with E0277.

Read the full section →