Skip to content

Commit 44275ac

Browse files
author
James O'Cull
committed
Dummy, there's not 1 yard in a football field...
1 parent b3e0664 commit 44275ac

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ extern crate measurements;
2222
2323
use measurements::length::Length;
2424
25-
let football_field = Length::from_yards(1.0);
25+
let football_field = Length::from_yards(100.0);
2626
let meters = football_field.as_meters();
2727
println!("There are {} meters in a football field.", meters);
2828
```

src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ mod tests;
99
/// ```
1010
/// use measurements::length::Length;
1111
///
12-
/// let football_field = Length::from_yards(1.0);
12+
/// let football_field = Length::from_yards(100.0);
1313
/// let meters = football_field.as_meters();
1414
/// println!("There are {} meters in a football field.", meters);
1515
/// ```

0 commit comments

Comments
 (0)