Skip to content

Commit 1b331bc

Browse files
author
James O'Cull
committed
Added a readme!
1 parent 59a54f4 commit 1b331bc

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

README.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
# And Rust said, "Let there be units."
2+
3+
Hurray! Now you can work with units of measure in a headache-free way.
4+
5+
Currently only `Length` is available, but I am planning to add more shortly.
6+
7+
### Example
8+
9+
```
10+
let football_field = Length::from_yards(1.0);
11+
let meters = football_field.as_meters();
12+
println!("There are {} meters in a football field.", meters);
13+
```

0 commit comments

Comments
 (0)