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()) {