Skip to content

Commit 32bd555

Browse files
committed
experimenting some more with ref matching for Rust 1.22
1 parent e965caa commit 32bd555

File tree

1 file changed

+3
-3
lines changed
  • lightning/src/ln/peers/handshake

1 file changed

+3
-3
lines changed

lightning/src/ln/peers/handshake/acts.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,13 +24,13 @@ impl Act {
2424
/// Convert any act into a byte vector
2525
pub fn serialize(&self) -> Vec<u8> {
2626
match &self {
27-
&Act::One(ref act) => {
27+
Act::One(ref act) => {
2828
act.0.to_vec()
2929
}
30-
&Act::Two(ref act) => {
30+
Act::Two(ref act) => {
3131
act.0.to_vec()
3232
}
33-
&Act::Three(ref act) => {
33+
Act::Three(ref act) => {
3434
act.0.to_vec()
3535
}
3636
}

0 commit comments

Comments
 (0)