From c7ecf3019a75dc0ab1a0aefeb9b880899fc8a231 Mon Sep 17 00:00:00 2001 From: fxqnlr Date: Mon, 29 May 2023 18:01:12 +0200 Subject: cargo fmt and add fmt file --- src/cache.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/cache.rs') diff --git a/src/cache.rs b/src/cache.rs index 1e22091..8df4d2f 100644 --- a/src/cache.rs +++ b/src/cache.rs @@ -31,6 +31,7 @@ pub fn get_cached_versions(path: &str) -> HashMap { /// Panics if . pub fn copy_cached_version(version_path: &str, download_path: &str) { let versplit: Vec<&str> = version_path.split('/').collect(); - let download = format!("{}/{}", download_path, versplit[versplit.len() - 1]); + let download = + format!("{}/{}", download_path, versplit[versplit.len() - 1]); copy(version_path, download).unwrap(); } -- cgit v1.2.3