diff options
| author | mat <git@matdoes.dev> | 2026-01-05 12:28:37 -1245 |
|---|---|---|
| committer | mat <git@matdoes.dev> | 2026-01-05 12:28:37 -1245 |
| commit | 28fe2d21dc03b96baa61c3b142baff3af5b92a76 (patch) | |
| tree | f0f9e049c7f42242d58bf4c932dce6b3681bbb27 | |
| parent | 0451500303e19a5d755a51d38a077e216721a618 (diff) | |
| download | azalea-drasl-28fe2d21dc03b96baa61c3b142baff3af5b92a76.tar.xz | |
fix compilation with online-mode feature disabled
| -rw-r--r-- | azalea-client/src/account/mod.rs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/azalea-client/src/account/mod.rs b/azalea-client/src/account/mod.rs index 22a099d1..a6615ad7 100644 --- a/azalea-client/src/account/mod.rs +++ b/azalea-client/src/account/mod.rs @@ -83,7 +83,7 @@ pub trait AccountTrait: Send + Sync + Debug { /// /// The `online-mode` feature is disabled, so this won't do anything. #[cfg(not(feature = "online-mode"))] - fn refresh(&self) -> BoxFuture<Result<(), ()>> { + fn refresh(&self) -> BoxFuture<'_, Result<(), ()>> { Box::pin(async { Ok(()) }) } @@ -132,8 +132,8 @@ pub trait AccountTrait: Send + Sync + Debug { public_key: &[u8], private_key: &[u8; 16], server_id: &str, - proxy: Option<reqwest::Proxy>, - ) -> BoxFuture<Result<(), ()>> { + proxy: Option<()>, + ) -> BoxFuture<'_, Result<(), ()>> { let _ = (public_key, private_key, server_id, proxy); Box::pin(async { Ok(()) }) } |
