From d519769fff282b7b4664a7b6148310fdab8861db Mon Sep 17 00:00:00 2001 From: Anson Date: Tue, 10 Dec 2024 22:03:22 -0700 Subject: [PATCH] Forgot to lint --- src/utilities.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/utilities.rs b/src/utilities.rs index e99ca06..dba9796 100644 --- a/src/utilities.rs +++ b/src/utilities.rs @@ -229,7 +229,7 @@ pub fn validate(post: &mut Post) { } if post.truncated_description.is_empty() { - post.score = post.score / 2; + post.score /= 2; }; if !is_valid_url(post.link.as_str()) {