We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b3e0664 commit 44275acCopy full SHA for 44275ac
README.md
@@ -22,7 +22,7 @@ extern crate measurements;
22
23
use measurements::length::Length;
24
25
-let football_field = Length::from_yards(1.0);
+let football_field = Length::from_yards(100.0);
26
let meters = football_field.as_meters();
27
println!("There are {} meters in a football field.", meters);
28
```
src/lib.rs
@@ -9,7 +9,7 @@ mod tests;
9
/// ```
10
/// use measurements::length::Length;
11
///
12
-/// let football_field = Length::from_yards(1.0);
+/// let football_field = Length::from_yards(100.0);
13
/// let meters = football_field.as_meters();
14
/// println!("There are {} meters in a football field.", meters);
15
0 commit comments