mirror of
https://gitlab.com/Anson-Projects/zine.git
synced 2025-07-27 08:41:25 +00:00
bump deps
This commit is contained in:
@@ -4,7 +4,7 @@ extern crate maud;
|
||||
extern crate reqwest;
|
||||
|
||||
use rand::seq::SliceRandom;
|
||||
use rand::thread_rng;
|
||||
use rand::rng;
|
||||
use std::collections::HashSet;
|
||||
use std::error::Error;
|
||||
use std::fs::write;
|
||||
@@ -57,7 +57,7 @@ fn main() -> Result<(), Box<dyn Error>> {
|
||||
let mut old_posts = all_posts;
|
||||
|
||||
old_posts.retain(|p| !posts.contains(p));
|
||||
old_posts.shuffle(&mut thread_rng());
|
||||
old_posts.shuffle(&mut rng());
|
||||
|
||||
let mut archive_posts: Vec<utilities::Post> = Vec::new();
|
||||
|
||||
|
Reference in New Issue
Block a user