chore (backend-rs): remove unneeded 'static

This commit is contained in:
naskya 2024-05-04 22:49:11 +09:00
parent b185c0c87e
commit 722d090f8d
No known key found for this signature in database
GPG key ID: 712D413B3A9FED5C

View file

@ -12,7 +12,7 @@ pub enum Error {
JsonErr(#[from] serde_json::Error),
}
const UPSTREAM_PACKAGE_JSON_URL: &'static str =
const UPSTREAM_PACKAGE_JSON_URL: &str =
"https://firefish.dev/firefish/firefish/-/raw/main/package.json";
async fn get_latest_version() -> Result<String, Error> {