diff options
author | Andinus <andinus@nand.sh> | 2021-09-08 23:11:02 +0530 |
---|---|---|
committer | Andinus <andinus@nand.sh> | 2021-09-08 23:11:02 +0530 |
commit | 9df866b411301652683cfc546fef561a006ea9b1 (patch) | |
tree | 56dc085dcc59f22081a84288916e1d760ad7ccdd /rust/assembly-line/src | |
parent | ad9f2bf5df32e800113d0952211535f6798d522d (diff) | |
download | exercism-9df866b411301652683cfc546fef561a006ea9b1.tar.gz |
Rust: Add Assembly Line
Diffstat (limited to 'rust/assembly-line/src')
-rw-r--r-- | rust/assembly-line/src/lib.rs | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/rust/assembly-line/src/lib.rs b/rust/assembly-line/src/lib.rs new file mode 100644 index 0000000..de29988 --- /dev/null +++ b/rust/assembly-line/src/lib.rs @@ -0,0 +1,11 @@ +// This stub file contains items which aren't used yet; feel free to remove this module attribute +// to enable stricter warnings. +#![allow(unused)] + +pub fn production_rate_per_hour(speed: u8) -> f64 { + unimplemented!("calculate hourly production rate at speed: {}", speed) +} + +pub fn working_items_per_minute(speed: u8) -> u32 { + unimplemented!("calculate the amount of working items at speed: {}", speed) +} |