fix: remove return statement
This commit is contained in:
parent
41311ed5ad
commit
33463f1a6e
@ -20,8 +20,8 @@ const MASTER: &str = "https://master.alterware.dev";
|
|||||||
|
|
||||||
fn get_cache_buster() -> u64 {
|
fn get_cache_buster() -> u64 {
|
||||||
match SystemTime::now().duration_since(UNIX_EPOCH) {
|
match SystemTime::now().duration_since(UNIX_EPOCH) {
|
||||||
Ok(n) => return n.as_secs(),
|
Ok(n) => n.as_secs(),
|
||||||
Err(_) => return 1,
|
Err(_) => 1,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user