We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b6e385e commit ac8df85Copy full SHA for ac8df85
src/utils.rs
@@ -47,7 +47,7 @@ pub fn download_zkey(depth: u16) -> Result<String, Box<dyn Error>> {
47
let out_dir = std::env::temp_dir();
48
let dest_path = out_dir.join(dest_filename.clone());
49
if !dest_path.exists() {
50
- let url = format!("{}{}", base_url, filename);
+ let url = format!("{base_url}{filename}");
51
let client = Client::new();
52
let mut resp = client.get(&url).send()?.error_for_status()?;
53
let mut out = File::create(&dest_path)?;
0 commit comments