From 12339f9432a19facf9b6b5df9b08af5f568b869a Mon Sep 17 00:00:00 2001 From: Tim Brooks Date: Wed, 7 May 2014 15:27:09 -0700 Subject: [PATCH] Change the biguint documentation example to reflect deprecated owned vector --- src/libnum/bigint.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)]