From deeb163b901cac7169c2e0363bfff8e44d264c8c Mon Sep 17 00:00:00 2001 From: Andinus Date: Sat, 11 Sep 2021 19:06:34 +0530 Subject: Rust: Complete Armstrong Numbers --- rust/armstrong-numbers/src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'rust') 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 } -- cgit 1.4.1-2-gfad0