fix: remove return statement

This commit is contained in:
Edo 2023-07-13 11:18:45 +02:00 committed by GitHub
parent 389643078d
commit 21acf7893d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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,
} }
} }