Browse Source

Update ctru-rs/src/services/uds.rs

Doh

Co-authored-by: Ian Chamberlain <ian-h-chamberlain@users.noreply.github.com>
pull/156/head
Jhynjhiruu 10 months ago committed by GitHub
parent
commit
e0c8a4d8f6
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 2
      ctru-rs/src/services/uds.rs

2
ctru-rs/src/services/uds.rs

@ -436,7 +436,7 @@ impl Uds {
// Safety: `networks` is malloced in application memory with size = `total_networks` // Safety: `networks` is malloced in application memory with size = `total_networks`
unsafe { Vec::from_raw_parts(networks, total_networks, total_networks) } unsafe { Vec::from_raw_parts(networks, total_networks, total_networks) }
.into_iter() .into_iter()
.map(<_ as Into<NetworkScanInfo>>::into) .map(NetworkScanInfo::from)
.collect() .collect()
} else { } else {
vec![] vec![]

Loading…
Cancel
Save