From 295b343aecf330e830d79f06e0efc511e7d76da1 Mon Sep 17 00:00:00 2001 From: Jasper Ras Date: Tue, 5 Aug 2025 08:53:21 +0200 Subject: vault backup: 2025-08-05 08:53:21 --- Box deallocation principle.md | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 Box deallocation principle.md (limited to 'Box deallocation principle.md') diff --git a/Box deallocation principle.md b/Box deallocation principle.md new file mode 100644 index 0000000..01418d4 --- /dev/null +++ b/Box deallocation principle.md @@ -0,0 +1,6 @@ +[[Rust principles]] +[[When boxes are deallocated]] + +--- + +If a variable owns a box, when Rust deallocates the variable’s frame, then Rust deallocates the box’s heap memory. \ No newline at end of file -- cgit v1.2.3