fix: remove return statement
This commit is contained in:
parent
389643078d
commit
21acf7893d
@ -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