X-Git-Url: https://git.ralfj.de/rust-101.git/blobdiff_plain/7b5af93d756464638204b0b703485712d88d3656..c25f3400060ea1a02f8fa9de69c39fd7b020e8a5:/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.