Skip to content

Commit eab00b0

Browse files
committed
Fix clippy
1 parent d60c30e commit eab00b0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tappd/src/guest_api_service.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,7 @@ fn get_interfaces() -> Vec<Interface> {
162162
name: interface_name.clone(),
163163
addresses: network
164164
.ip_networks()
165-
.into_iter()
165+
.iter()
166166
.map(|ip| IpAddress {
167167
address: ip.addr.to_string(),
168168
prefix: ip.prefix as u32,

0 commit comments

Comments
 (0)