From b2b6bb729bdd1b11bb72a2a2aeb034937b055e8a Mon Sep 17 00:00:00 2001 From: Huanyi Chen Date: Wed, 31 Jan 2024 11:18:51 -0500 Subject: [PATCH] Tweak --- lectures/flipped/L09.md | 6 +++--- lectures/flipped/L10.md | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/lectures/flipped/L09.md b/lectures/flipped/L09.md index d00c64c..4f54cf8 100644 --- a/lectures/flipped/L09.md +++ b/lectures/flipped/L09.md @@ -80,6 +80,6 @@ Only had time to do the poem activity, but that was fun. Times for the poem (students were told to read as fast as they could) -1 student : 42 seconds -2 students: 25 seconds -5 students: 15 seconds +| 1 student | 42 seconds | +| 2 students | 25 seconds | +| 5 students | 15 seconds | diff --git a/lectures/flipped/L10.md b/lectures/flipped/L10.md index 910278e..a08ec1b 100644 --- a/lectures/flipped/L10.md +++ b/lectures/flipped/L10.md @@ -54,7 +54,7 @@ fn main() { if i_thread % 2 == 0 { // Lock mutex1 // No need to specify type but yes create a dummy variable to prevent rust - // compiler from being lazy + // compiler from being lazy, e.g., eliminating the code let _guard: MutexGuard = MUTEX1.lock().unwrap(); // Just log