fix: remove return statement

This commit is contained in:
Edo 2023-07-13 11:18:45 +02:00 committed by GitHub
parent 41311ed5ad
commit 33463f1a6e

View File

@ -20,8 +20,8 @@ const MASTER: &str = "https://master.alterware.dev";
fn get_cache_buster() -> u64 {
match SystemTime::now().duration_since(UNIX_EPOCH) {
Ok(n) => return n.as_secs(),
Err(_) => return 1,
Ok(n) => n.as_secs(),
Err(_) => 1,
}
}