---
title: "Discussion on \"What std::mem::forget Actually Does to Heap Allocations?\" | Hashnode"
description: "Discussion on \"What std::mem::forget Actually Does to Heap Allocations?\". Understanding Heap Allocations in Rust"
url: "https://hashnode.com/posts/what-std-mem-forget-actually-does-to-heap-allocations/6aabc55d43c501ca7b624ee4"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [What std::mem::forget Actually Does to Heap Allocations?](https://sufyanism.hashnode.dev/what-std-mem-forget-actually-does-to-heap-allocations?utm_source=hashnode&utm_medium=feed)

Understanding Heap Allocations in Rust

Sep 17 · 8 min read · sufyanism.hashnode.dev  
Read the article

-   [#coding](https://hashnode.com/tag/coding)
-   [#javascript](https://hashnode.com/tag/javascript)
-   [#linux](https://hashnode.com/tag/linux)
-   [#programming-languages](https://hashnode.com/tag/programming-languages)
-   [#rust](https://hashnode.com/tag/rust)

## Written by

[Sufyan bin Uzayr](https://hashnode.com/@sufyanism)

@sufyanism · Bahrain

  
[View profile](https://hashnode.com/@sufyanism)

Writer; coder; educator; coffee-lover.

Mostly Rust, and Linux, sometimes C++.

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
