various: fix auto-fixable clippy lints

Signed-off-by: NotAShelf <raf@notashelf.dev>
Change-Id: I523cd8163d3995efa2f1e8475bbf87316a6a6964
This commit is contained in:
raf 2026-04-21 17:37:48 +03:00
commit ace9bcac8a
Signed by: NotAShelf
GPG key ID: 29D95B64378DB4BF
3 changed files with 3 additions and 3 deletions

View file

@ -32,7 +32,7 @@ impl CurseForgePlatform {
}
}
pub fn with_client(client: Arc<Client>, api_key: Option<String>) -> Self {
pub const fn with_client(client: Arc<Client>, api_key: Option<String>) -> Self {
Self { client, api_key }
}