Skip to content

Commit

Permalink
run clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
Geometrically committed Nov 8, 2023
1 parent 9d5c8f5 commit b814e7b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions daedalus_client/src/neo.rs
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ use daedalus::modded::{
use log::info;
use semver::Version;
use serde::{Deserialize, Serialize};
use std::collections::{HashMap, HashSet};
use std::collections::HashMap;
use std::io::Read;
use std::sync::Arc;
use std::time::Instant;
Expand Down Expand Up @@ -72,7 +72,7 @@ pub async fn retrieve_data(
}

info!("Forge - Installer Start {}", loader_version_full.clone());
let bytes = download_file(&format!("https://maven.neoforged.net/net/neoforged/{1}/{0}/{1}-{0}-installer.jar", loader_version_full, if new_forge == "true".to_string() { "neoforge" } else { "forge" }), None, semaphore.clone()).await?;
let bytes = download_file(&format!("https://maven.neoforged.net/net/neoforged/{1}/{0}/{1}-{0}-installer.jar", loader_version_full, if &*new_forge == "true" { "neoforge" } else { "forge" }), None, semaphore.clone()).await?;

let reader = std::io::Cursor::new(bytes);

Expand Down

0 comments on commit b814e7b

Please sign in to comment.