Skip to content

Commit 958cc51

Browse files
committed
Fix cargo clippy
Signed-off-by: Gris Ge <[email protected]>
1 parent be2796c commit 958cc51

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/route/tests/seg6.rs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -56,8 +56,8 @@ fn test_encap() {
5656
RouteSeg6IpTunnel::Seg6(Seg6Header {
5757
mode: Seg6Mode::Encap,
5858
segments: vec![
59-
Ipv6Addr::from_str("fe80::1").unwrap().into(),
60-
Ipv6Addr::from_str("fe80::2").unwrap().into(),
59+
Ipv6Addr::from_str("fe80::1").unwrap(),
60+
Ipv6Addr::from_str("fe80::2").unwrap(),
6161
],
6262
}),
6363
)]),
@@ -120,8 +120,8 @@ fn test_inline() {
120120
RouteSeg6IpTunnel::Seg6(Seg6Header {
121121
mode: Seg6Mode::Inline,
122122
segments: vec![
123-
Ipv6Addr::from_str("fe80::1").unwrap().into(),
124-
Ipv6Addr::from_str("fe80::2").unwrap().into(),
123+
Ipv6Addr::from_str("fe80::1").unwrap(),
124+
Ipv6Addr::from_str("fe80::2").unwrap(),
125125
],
126126
}),
127127
)]),

0 commit comments

Comments
 (0)