Skip to content

Commit 12339f9

Browse files
author
Tim Brooks
committed
Change the biguint documentation example to reflect deprecated owned vector
1 parent ab22d99 commit 12339f9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/libnum/bigint.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ pub mod BigDigit {
7474
/**
7575
A big unsigned integer type.
7676
77-
A `BigUint`-typed value `BigUint { data: ~[a, b, c] }` represents a number
77+
A `BigUint`-typed value `BigUint { data: vec!(a, b, c) }` represents a number
7878
`(a + b * BigDigit::base + c * BigDigit::base^2)`.
7979
*/
8080
#[deriving(Clone)]

0 commit comments

Comments
 (0)