Skip to content

Commit

Permalink
Merge pull request #1270 from lachsdachs/patch-1
Browse files Browse the repository at this point in the history
fix a lil typo
  • Loading branch information
phil-opp authored Jan 28, 2024
2 parents 514736b + 3c2e91f commit 916ad36
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 916ad36

Please sign in to comment.