mirror of
https://gitlab.com/Anson-Projects/zine.git
synced 2025-08-01 11:11:32 +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() {
|
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()) {
|
||||||
|
Reference in New Issue
Block a user