summary refs log tree commit diff stats
path: root/rust/assembly-line/src
diff options
context:
space:
mode:
authorAndinus <andinus@nand.sh>2021-09-08 23:11:02 +0530
committerAndinus <andinus@nand.sh>2021-09-08 23:11:02 +0530
commit9df866b411301652683cfc546fef561a006ea9b1 (patch)
tree56dc085dcc59f22081a84288916e1d760ad7ccdd /rust/assembly-line/src
parentad9f2bf5df32e800113d0952211535f6798d522d (diff)
downloadexercism-9df866b411301652683cfc546fef561a006ea9b1.tar.gz
Rust: Add Assembly Line
Diffstat (limited to 'rust/assembly-line/src')
-rw-r--r--rust/assembly-line/src/lib.rs11
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)
+}