Skip to content

Commit

Permalink
fix a lil typo
Browse files Browse the repository at this point in the history
sturcts -> structs
  • Loading branch information
lachsdachs authored Jan 27, 2024
1 parent 514736b commit 3c2e91f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion blog/content/edition-3/posts/03-screen-output/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.

Expand Down

0 comments on commit 3c2e91f

Please sign in to comment.