diff options
author | rustdesk <[email protected]> | 2023-01-07 00:37:12 +0800 |
---|---|---|
committer | rustdesk <[email protected]> | 2023-01-07 00:37:12 +0800 |
commit | 55b841afb55aeb4c8ecab6873bbd1e06dfcf9aad (patch) | |
tree | 96c6de380b25dc81fe515f14650af29fbcb1fb9b /src | |
parent | d48913d7b597c0655fb364f87e43d98d811ae38e (diff) | |
download | rustdesk-server-55b841afb55aeb4c8ecab6873bbd1e06dfcf9aad.tar.gz rustdesk-server-55b841afb55aeb4c8ecab6873bbd1e06dfcf9aad.zip |
one more clippy
Diffstat (limited to 'src')
-rw-r--r-- | src/rendezvous_server.rs | 2 | ||||
-rw-r--r-- | src/version.rs | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/rendezvous_server.rs b/src/rendezvous_server.rs index 30a6bd0..cd22b13 100644 --- a/src/rendezvous_server.rs +++ b/src/rendezvous_server.rs @@ -1277,7 +1277,7 @@ async fn create_udp_listener(port: i32, rmem: usize) -> ResultType<FramedSocket> let addr = SocketAddr::new(IpAddr::V4(Ipv4Addr::UNSPECIFIED), port as _); let s = FramedSocket::new_reuse(&addr, false, rmem).await?; log::debug!("listen on udp {:?}", s.local_addr()); - return Ok(s); + Ok(s) } #[inline] diff --git a/src/version.rs b/src/version.rs index f8a74a8..eb6ab57 100644 --- a/src/version.rs +++ b/src/version.rs @@ -1,3 +1,3 @@ pub const VERSION: &str = "1.1.6"; #[allow(dead_code)] -pub const BUILD_DATE: &str = "2023-01-06 18:48";
\ No newline at end of file +pub const BUILD_DATE: &str = "2023-01-07 00:36";
\ No newline at end of file |