From: Wojtek Porczyk Date: Fri, 17 May 2024 14:58:50 +0000 (+0200) Subject: 10_as_casting.md: fix 256 bit representation (#6) X-Git-Url: http://git.euphorik.ch/?a=commitdiff_plain;h=fe189a64e41317398fb08b49fd20246f6b55cdcc;p=rust_exercises.git 10_as_casting.md: fix 256 bit representation (#6) --- diff --git a/book/src/02_basic_calculator/10_as_casting.md b/book/src/02_basic_calculator/10_as_casting.md index bbf837c..e878f63 100644 --- a/book/src/02_basic_calculator/10_as_casting.md +++ b/book/src/02_basic_calculator/10_as_casting.md @@ -46,7 +46,7 @@ To understand what happens, let's start by looking at how `256u16` is represented in memory, as a sequence of bits: ```text - 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 + 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 | | | +---------------+---------------+ First 8 bits Last 8 bits