diff options
author | metamuffin <metamuffin@disroot.org> | 2024-12-23 12:41:15 +0100 |
---|---|---|
committer | metamuffin <metamuffin@disroot.org> | 2024-12-23 12:41:15 +0100 |
commit | 464ebd6fa686d32a16aaa6bd27d8f445caa42f6a (patch) | |
tree | 22587801553e44c6d707ca1fac8f3da864ed6ea8 /server/registry/src | |
parent | 6ddb571e02dc04b1125669135eab5731523e8f73 (diff) | |
download | hurrycurry-464ebd6fa686d32a16aaa6bd27d8f445caa42f6a.tar hurrycurry-464ebd6fa686d32a16aaa6bd27d8f445caa42f6a.tar.bz2 hurrycurry-464ebd6fa686d32a16aaa6bd27d8f445caa42f6a.tar.zst |
clippy: mostly map_or replaced with is_some_and
Diffstat (limited to 'server/registry/src')
-rw-r--r-- | server/registry/src/register.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/server/registry/src/register.rs b/server/registry/src/register.rs index 1e90fc68..d15fb01c 100644 --- a/server/registry/src/register.rs +++ b/server/registry/src/register.rs @@ -29,7 +29,7 @@ use std::{ use tokio::{net::lookup_host, sync::RwLock}; #[post("/v1/register", data = "<submission>")] -pub(super) async fn r_register<'a>( +pub(super) async fn r_register( client_addr: IpAddr, registry: &State<Arc<RwLock<Registry>>>, submission: Json<Submission>, |