mirror of
https://gitlab.com/Anson-Projects/zine.git
synced 2025-06-15 21:26:38 +00:00
lol
This commit is contained in:
parent
7008f06d45
commit
2a38bfe93b
@ -50,7 +50,7 @@ fn main() -> Result<(), Box<dyn Error>> {
|
||||
|
||||
entries.retain(|entry| entry.score.is_positive());
|
||||
|
||||
// Cunt occurences of main urls
|
||||
// Count occurences of main urls
|
||||
let url_counts = entries.iter().fold(HashMap::new(), |mut acc, post| {
|
||||
*acc.entry(post.main_url.clone()).or_insert(0) += 1;
|
||||
acc
|
||||
|
Loading…
x
Reference in New Issue
Block a user