fix a lil typo

sturcts -> structs
This commit is contained in:
lachsdachs
2024-01-27 21:23:35 +01:00
committed by GitHub
parent 514736b1d8
commit 3c2e91fa4e

View File

@@ -165,7 +165,7 @@ pub struct Color {
}
```
By marking the sturcts and their fields as `pub`, we make them accessible from the parent `kernel` module.
By marking the structs and their fields as `pub`, we make them accessible from the parent `kernel` module.
We use the `#[derive]` attribute to implement the [`Debug`], [`Clone`], [`Copy`], [`PartialEq`], and [`Eq`] traits of Rust's core library.
These traits allow us to duplicate, compare, and print the structs.