Skip to content

Commit 428d142

Browse files
committed
Fix typo in pressure example.
1 parent 0f03a8b commit 428d142

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/pressure.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@ use super::measurement::*;
88
/// ```
99
/// use measurements::Pressure;
1010
///
11-
/// let earth = Pressue::from_atmospheres(1.0);
12-
/// let mbar = earth.as_mbar();
11+
/// let earth = Pressure::from_atmospheres(1.0);
12+
/// let mbar = earth.as_millibars();
1313
/// println!("Atmospheric pressure is {} mbar.", mbar);
1414
/// ```
1515
#[derive(Copy, Clone, Debug)]

0 commit comments

Comments
 (0)