refactor(downloads): Convert DOWNLOAD_MAX_THREADS to const
Signed-off-by: quexeky <git@quexeky.dev>
This commit is contained in:
parent
04368ff549
commit
4fc13a1c8f
1 changed files with 1 additions and 1 deletions
|
|
@ -53,7 +53,7 @@ impl Display for GameDownloadError {
|
|||
}
|
||||
}
|
||||
|
||||
static DOWNLOAD_MAX_THREADS: usize = 4;
|
||||
pub const DOWNLOAD_MAX_THREADS: usize = 4;
|
||||
|
||||
pub struct ProgressObject {
|
||||
pub max: u64,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue