1
0
mirror of https://gitlab.com/Anson-Projects/zine.git synced 2025-06-16 05:26:40 +00:00

Forgot to lint

This commit is contained in:
Anson 2024-12-10 22:03:22 -07:00
parent 7b676037df
commit d519769fff

View File

@ -229,7 +229,7 @@ pub fn validate(post: &mut Post) {
} }
if post.truncated_description.is_empty() { if post.truncated_description.is_empty() {
post.score = post.score / 2; post.score /= 2;
}; };
if !is_valid_url(post.link.as_str()) { if !is_valid_url(post.link.as_str()) {