mirror of
https://github.com/tonhowtf/omniget.git
synced 2026-10-02 09:24:57 +08:00
style: drop a needless return in the test guard
This commit is contained in:
@@ -382,8 +382,7 @@ async fn tone_reaches_the_other_side(base: &str, label: &str, room_key: Option<R
|
||||
}
|
||||
|
||||
fn test_url() -> Option<String> {
|
||||
let picked = real_test_url();
|
||||
return picked.filter(|b| allow_target(b));
|
||||
real_test_url().filter(|b| allow_target(b))
|
||||
}
|
||||
|
||||
#[allow(dead_code)]
|
||||
|
||||
Reference in New Issue
Block a user