Learn Rust with Me! Part 6 Hash Maps

Опубликовано: 15 Февраль 2026
на канале: Will Velida
510
16

Rust is an open-source, systems programming language that you can use to develop efficient, safe software. Hash Maps are a common collection type that we can use in Rust. The Hash Map type stores data by mapping a key to a value, and data is accessed in Hash Maps by using the key.

In this video, I cover how Hash Maps work, how we can create them, and how we can insert and remove items from them.

0:00 Introduction
0:43 Creating a Hash Map
2:19 Inserting items into a Hash Map
3:27 Retrieving an item from a Hash Map using get
4:40 Removing items from a Hash Map using remove
5:53 Wrap up

Links!
Source code for this lesson: https://github.com/willvelida/learn-rust

Connect with me!
Twitter:   / willvelida  
GitHub: https://github.com/willvelida
Bluesky: https://bsky.app/profile/willvelida.b...