Comment Comment by Panzerschrek > Rust: Drop runs automatically at scope end, so this specific bug simply doesn’t exist.That's why having no auto-destructors is a dead-end. This is the greatest mistake of such languages like Zig or Odin. parent Panzerschrek 1 month ago
That's why having no auto-destructors is a dead-end. This is the greatest mistake of such languages like Zig or Odin.