summary refs log tree commit diff stats
path: root/rust/armstrong-numbers
diff options
context:
space:
mode:
authorAndinus <andinus@nand.sh>2021-09-11 19:06:34 +0530
committerAndinus <andinus@nand.sh>2021-09-11 19:06:34 +0530
commitdeeb163b901cac7169c2e0363bfff8e44d264c8c (patch)
treed0634bf4470cccb99a862637a692e81b97f889af /rust/armstrong-numbers
parentf73d1a4b3fef52efe0190c086264d6f5f755a9e2 (diff)
downloadexercism-deeb163b901cac7169c2e0363bfff8e44d264c8c.tar.gz
Rust: Complete Armstrong Numbers
Diffstat (limited to 'rust/armstrong-numbers')
-rw-r--r--rust/armstrong-numbers/src/lib.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/rust/armstrong-numbers/src/lib.rs b/rust/armstrong-numbers/src/lib.rs
index 370cbf3..442760c 100644
--- a/rust/armstrong-numbers/src/lib.rs
+++ b/rust/armstrong-numbers/src/lib.rs
@@ -13,5 +13,5 @@ pub fn is_armstrong_number(num: u32) -> bool {
         tmp /= 10
     }
 
-    return arms == num;
+    arms == num
 }