X-Git-Url: https://git.ralfj.de/rust-101.git/blobdiff_plain/4f61be32dd480f23a7fef05ee66c42ae27c980c6..2e8bcf46df767e7cbceb1ae92ba2ec8e4996c241:/src/part05.rs diff --git a/src/part05.rs b/src/part05.rs index 72c787d..3992fb1 100644 --- a/src/part05.rs +++ b/src/part05.rs @@ -10,7 +10,7 @@ //@ to use a vector "digits" of the number. This is like "1337" being a vector of four digits (1, 3, 3, 7), //@ except that we will use `u64` as type of our digits, meaning we have 2^64 individual digits. Now we just //@ have to decide the order in which we store numbers. I decided that we will store the least significant -//@ digit first. This means that "1337" would actually become (7, 3, 3, 1).
+//@ digit first. This means that "1337" would actually become (7, 3, 3, 1).
//@ Finally, we declare that there must not be any trailing zeros (corresponding to //@ useless leading zeros in our usual way of writing numbers). This is to ensure that //@ the same number can only be stored in one way.