diff options
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) +} |