Skip to content

Commit e781cca

Browse files
committed
Fix lints in CI
1 parent d50c219 commit e781cca

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/checking.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@ async fn mark_server_as_online() {
4141
}
4242

4343
/// Check if the server is online by either getting a cached value (cached for `ONLINE_CHECK_TTL_MS`), or by pinging `8.8.8.8`.
44+
#[allow(dead_code)] // Used in code that may or may not be cfg'd out
4445
async fn is_online() -> bool {
4546
{
4647
// Has it been checked within the TTL?

0 commit comments

Comments
 (0)