mirror of
https://gitlab.com/Anson-Projects/zine.git
synced 2025-07-27 00:31:23 +00:00
Forgot to lint
This commit is contained in:
@@ -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()) {
|
||||
|
Reference in New Issue
Block a user