diff options
| author | 2026-01-14 16:44:56 +0800 | |
|---|---|---|
| committer | 2026-01-14 16:44:56 +0800 | |
| commit | 9193112aca842dbe4d723aa865a7a30f3bcdb691 (patch) | |
| tree | 226a595587569c4a4ddb42729163060f4e04dc18 /src-tauri/src/core/manifest.rs | |
| parent | bdbed80e0ee632a6495244b0a56f74ed6f9d639e (diff) | |
| download | DropOut-9193112aca842dbe4d723aa865a7a30f3bcdb691.tar.gz DropOut-9193112aca842dbe4d723aa865a7a30f3bcdb691.zip | |
refactor: clean up formatting and improve readability in core modules
Diffstat (limited to 'src-tauri/src/core/manifest.rs')
| -rw-r--r-- | src-tauri/src/core/manifest.rs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src-tauri/src/core/manifest.rs b/src-tauri/src/core/manifest.rs index 2fea811..bae87c9 100644 --- a/src-tauri/src/core/manifest.rs +++ b/src-tauri/src/core/manifest.rs @@ -74,7 +74,7 @@ pub async fn fetch_vanilla_version( ) -> Result<GameVersion, Box<dyn Error + Send + Sync>> { // First, get the manifest to find the version URL let manifest = fetch_version_manifest().await?; - + let version_entry = manifest .versions .iter() @@ -86,7 +86,7 @@ pub async fn fetch_vanilla_version( .await? .json::<GameVersion>() .await?; - + Ok(resp) } @@ -121,7 +121,7 @@ pub async fn load_version( Ok(v) => v, Err(_) => fetch_vanilla_version(&parent_id).await?, }; - + // Merge child into parent version = crate::core::version_merge::merge_versions(version, parent); } |