Clippy
This commit is contained in:
parent
62d5288398
commit
3e6c2eae79
5 changed files with 36 additions and 24 deletions
|
|
@ -996,7 +996,7 @@ impl Session {
|
|||
name,
|
||||
} = add_res;
|
||||
|
||||
let private = metadata.as_ref().map_or(false, |m| m.info.private);
|
||||
let private = metadata.as_ref().is_some_and(|m| m.info.private);
|
||||
|
||||
let make_peer_rx = || {
|
||||
self.make_peer_rx(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue