about summary refs log tree commit diff
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2014-05-09 00:51:35 -0700
committerbors <bors@rust-lang.org>2014-05-09 00:51:35 -0700
commitab369c4353943490716bfde86c67dd6c21e5fff2 (patch)
treecb5772168215db5a85aa08c42fc05bb76b66b379
parentfcf25ae83d1f6bd7232d74ec5c1f4f1c642ec5b2 (diff)
parent12339f9432a19facf9b6b5df9b08af5f568b869a (diff)
downloadrust-ab369c4353943490716bfde86c67dd6c21e5fff2.tar.gz
rust-ab369c4353943490716bfde86c67dd6c21e5fff2.zip
auto merge of #14025 : tbrooks8/rust/big_uint_doc, r=alexcrichton
I changed the documentation for the BigUint to reflection the deprecation of ~[T] in favor of Vec<T>.
-rw-r--r--src/libnum/bigint.rs2
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)]