Skip to content

Commit

Permalink
Fix lints
Browse files Browse the repository at this point in the history
  • Loading branch information
raffomania committed Dec 17, 2024
1 parent 3f7d5af commit 9b6fead
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/insert_demo_data.rs
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ pub async fn insert_demo_data(
Ok(())
}

fn random_link_reference(bookmarks: &Vec<db::Bookmark>, lists: &Vec<db::List>) -> Result<Uuid> {
fn random_link_reference(bookmarks: &[db::Bookmark], lists: &[db::List]) -> Result<Uuid> {
Ok(match rand::thread_rng().gen_range(0..=1) {
0 => {
bookmarks
Expand Down

0 comments on commit 9b6fead

Please sign in to comment.