From 3c2e91fa4e175b835eaa6b2a8b4db0de18b60fca Mon Sep 17 00:00:00 2001 From: lachsdachs <118852858+lachsdachs@users.noreply.github.com> Date: Sat, 27 Jan 2024 21:23:35 +0100 Subject: [PATCH] fix a lil typo sturcts -> structs --- blog/content/edition-3/posts/03-screen-output/index.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/blog/content/edition-3/posts/03-screen-output/index.md b/blog/content/edition-3/posts/03-screen-output/index.md index a7358682..f907756b 100644 --- a/blog/content/edition-3/posts/03-screen-output/index.md +++ b/blog/content/edition-3/posts/03-screen-output/index.md @@ -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.