various: fix auto-fixable clippy lints
Signed-off-by: NotAShelf <raf@notashelf.dev> Change-Id: I523cd8163d3995efa2f1e8475bbf87316a6a6964
This commit is contained in:
parent
8b2140c057
commit
ace9bcac8a
3 changed files with 3 additions and 3 deletions
|
|
@ -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 }
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue