mirror of
https://github.com/fluencelabs/rust-libp2p
synced 2025-06-23 23:01:33 +00:00
*: Activate clippy::style
lint group (#2620)
This commit is contained in:
@ -176,7 +176,7 @@ pub struct IncomingInfo<'a> {
|
||||
|
||||
impl<'a> IncomingInfo<'a> {
|
||||
/// Builds the [`ConnectedPoint`] corresponding to the incoming connection.
|
||||
pub fn to_connected_point(&self) -> ConnectedPoint {
|
||||
pub fn create_connected_point(&self) -> ConnectedPoint {
|
||||
ConnectedPoint::Listener {
|
||||
local_addr: self.local_addr.clone(),
|
||||
send_back_addr: self.send_back_addr.clone(),
|
||||
|
Reference in New Issue
Block a user