chore: Remove experiemntal clippy reason + update packageManager version

This commit is contained in:
LynithDev 2024-10-17 20:16:18 +02:00
parent b5bc602d21
commit 26d957b80a
2 changed files with 2 additions and 5 deletions

View file

@ -4,7 +4,7 @@
"version": "1.0.0-alpha.1",
"private": true,
"engineStrict": true,
"packageManager": "pnpm@9.11.0",
"packageManager": "pnpm@9.12.2",
"description": "Next-generation open source Minecraft launcher and tools for interacting with Polyfrost",
"license": "GPL-3.0-only",
"homepage": "https://polyfrost.org",

View file

@ -119,10 +119,7 @@ impl ProxyState {
Ok(value.app.get_webview_window("main").unwrap())
}
#[allow(
clippy::unused_async,
reason = "clippy doesn't take into account the features"
)]
#[allow(clippy::unused_async)]
#[cfg(feature = "tauri")]
pub async fn get() -> crate::Result<Arc<Self>> {
Ok(PROXY_STATE.get().ok_or(ProxyError::NotInitialized)?.clone())