Fix code style issue

main
trivernis 9 months ago
parent 5abe7965ad
commit 2f241cb30c
Signed by: Trivernis
GPG Key ID: 7E6D18B61C8D2F4B

@ -43,8 +43,7 @@ pub fn latest_stable() -> DataResult<Version> {
}) })
.map(|(v, _, _, _)| v) .map(|(v, _, _, _)| v)
.filter_map(|v| versions_by_minecraft_version().ok()?.remove(&v)) .filter_map(|v| versions_by_minecraft_version().ok()?.remove(&v))
.rev() .next_back();
.next();
latest.ok_or_else(|| DataError::NotFoundError(String::from("latest version"))) latest.ok_or_else(|| DataError::NotFoundError(String::from("latest version")))
} }

Loading…
Cancel
Save