ts fn can go. its getting less uses!

This commit is contained in:
lda
2026-04-28 18:15:41 +07:00 Verified
parent aa698a9f4b
commit d0fa6bf526
9 changed files with 40 additions and 28 deletions
+1 -3
View File
@@ -109,9 +109,7 @@ pub async fn list_local_observations_from_path(
Ok(list_local_observations_from_store(store))
}
fn list_local_observations_from_store(
store: LocalObservationStore,
) -> Vec<LocalDeviceObservation> {
fn list_local_observations_from_store(store: LocalObservationStore) -> Vec<LocalDeviceObservation> {
let mut out = Vec::with_capacity(store.dhcp_clients.len() + store.neighbors.len());
out.extend(
store