From 90744d678e0c81b655e5a0a5166bbb401c0b2c61 Mon Sep 17 00:00:00 2001 From: bestgopher <84328409@qq.com> Date: Sun, 17 Jul 2022 10:10:37 +0800 Subject: [PATCH] fix: var not found --- ch5/ch5-bit-patterns.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ch5/ch5-bit-patterns.rs b/ch5/ch5-bit-patterns.rs index 03dab501..dae61fc9 100644 --- a/ch5/ch5-bit-patterns.rs +++ b/ch5/ch5-bit-patterns.rs @@ -8,5 +8,5 @@ fn main() { let sixtyfivethousand_535: u16 = 0b1111_1111_1111_1111; print!("{}, {}, {}, ..., ", zero, one, two); - println!("{}, {}, {}", sixty5_533, sixty5_534, sixty5_535); + println!("{}, {}, {}", sixtyfivethousand_533, sixtyfivethousand_534, sixtyfivethousand_535); }