From 5347332b506e2f576821249d1eaa30a8f13a1066 Mon Sep 17 00:00:00 2001 From: Nikita Rusin Date: Wed, 27 Mar 2024 11:46:43 +0200 Subject: [PATCH] Fix typos #8 --- challenge/files/01_structs.toml | 2 +- challenge/files/07_channels_1.toml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/challenge/files/01_structs.toml b/challenge/files/01_structs.toml index f0339b8..83132b1 100644 --- a/challenge/files/01_structs.toml +++ b/challenge/files/01_structs.toml @@ -67,7 +67,7 @@ text = "Point at problems in code" type = "select_answers" answers = [ { text = "Pointer func argument is unmodifiable" }, - { text = "New structure istead of field change", code_line_ranges = [[4, 7]] }, + { text = "New structure instead of field change", code_line_ranges = [[4, 7]] }, { text = "Employee is immutable struct" }, { text = "Not a pointer" }, { text = "Pointer copy changed", code_line_ranges = [[4, 7]] }, diff --git a/challenge/files/07_channels_1.toml b/challenge/files/07_channels_1.toml index dc27cb2..297c490 100644 --- a/challenge/files/07_channels_1.toml +++ b/challenge/files/07_channels_1.toml @@ -15,7 +15,7 @@ func main() { c := time.Tick(1 * time.Second) for range c { - fmt.Printf("#goroutines: %d\n", runtime.NumGoroutine()) + fmt.Printf("#goroutines: %d\\n", runtime.NumGoroutine()) } } """