Fix doc test

This commit is contained in:
Alex Crichton 2015-03-22 10:43:11 -07:00
parent 9848257eae
commit 445fbab108
1 changed files with 1 additions and 1 deletions

View File

@ -29,7 +29,7 @@
//! let start: Ratio<BigInt> = Ratio::from_integer(FromPrimitive::from_u64(number).unwrap());
//! let mut approx = start.clone();
//!
//! for _ in range(0, iterations) {
//! for _ in 0..iterations {
//! approx = (&approx + (&start / &approx)) /
//! Ratio::from_integer(FromPrimitive::from_u64(2).unwrap());
//! }