work on wording
[rust-101.git] / src / part05.rs
index eaad9804aaad71226c1bf3332839d32c73bbd9ce..49e57db0704e9bfa4c2bcb537a2fd431fd5d4ec4 100644 (file)
@@ -47,11 +47,11 @@ impl BigInt {
         }
     }
 
-    // We can convert any vector of digits into a number, by removing trailing zeros. The `mut`
-    // declaration for `v` here is just like the one in `let mut ...`: We completely own `v`, but Rust
-    // still asks us to make our intention of modifying it explicit. This `mut` is *not* part of the
-    // type of `from_vec` - the caller has to give up ownership of `v` anyway, so they don't care anymore
-    // what you do to it.
+    // We can convert any little-endian vector of digits (i.e., least-significant digit first) into a number,
+    // by removing trailing zeros. The `mut` declaration for `v` here is just like the one in `let mut ...`:
+    // We completely own `v`, but Rust still asks us to make our intention of modifying it explicit. This
+    // `mut` is *not* part of the type of `from_vec` - the caller has to give up ownership of `v` anyway, so
+    // they don't care anymore what you do to it.
     // 
     // **Exercise 05.1**: Implement this function.
     //