diff options
| author | Tim Brooks <tim.brooks@staples.com> | 2014-05-07 15:27:09 -0700 |
|---|---|---|
| committer | Tim Brooks <tim.brooks@staples.com> | 2014-05-07 19:54:37 -0700 |
| commit | 12339f9432a19facf9b6b5df9b08af5f568b869a (patch) | |
| tree | 428b3fa337318b1feaa926b88a3b77065d302f04 | |
| parent | ab22d99e73f81f35dd4edbdc9b27152dc653f5b6 (diff) | |
| download | rust-12339f9432a19facf9b6b5df9b08af5f568b869a.tar.gz rust-12339f9432a19facf9b6b5df9b08af5f568b869a.zip | |
Change the biguint documentation example to reflect deprecated owned vector
| -rw-r--r-- | src/libnum/bigint.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libnum/bigint.rs b/src/libnum/bigint.rs index 5e1bd29e5a6..ef6f1aafe88 100644 --- a/src/libnum/bigint.rs +++ b/src/libnum/bigint.rs @@ -74,7 +74,7 @@ pub mod BigDigit { /** A big unsigned integer type. -A `BigUint`-typed value `BigUint { data: ~[a, b, c] }` represents a number +A `BigUint`-typed value `BigUint { data: vec!(a, b, c) }` represents a number `(a + b * BigDigit::base + c * BigDigit::base^2)`. */ #[deriving(Clone)] |
