summary refs log tree commit diff stats
path: root/rust/armstrong-numbers/src/lib.rs
diff options
context:
space:
mode:
Diffstat (limited to 'rust/armstrong-numbers/src/lib.rs')
-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
 }