bigint: fix and un-ignore the first doctest

This commit is contained in:
Josh Stone 2016-03-25 17:00:08 -07:00
parent 8845ee11ed
commit aebbc4fd37
1 changed files with 6 additions and 1 deletions

View File

@ -18,7 +18,11 @@
//!
//! ## Example
//!
//! ```rust,ignore
//! ```rust
//! extern crate num_bigint;
//! extern crate num_traits;
//!
//! # fn main() {
//! use num_bigint::BigUint;
//! use num_traits::{Zero, One};
//! use std::mem::replace;
@ -37,6 +41,7 @@
//!
//! // This is a very large number.
//! println!("fib(1000) = {}", fib(1000));
//! # }
//! ```
//!
//! It's easy to generate large random numbers: