Skip to content

Commit 5fa3672

Browse files
committed
Improve comment about filtering duplicate CSV entries
1 parent 50a2e41 commit 5fa3672

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

src/data.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -221,7 +221,8 @@ pub fn create_or_update_addresses<'a>(
221221
) {
222222
use crate::schema::addresses::dsl::*;
223223

224-
// Filter duplicates because the same address sometimes have different coordinates, for example:
224+
// Filter duplicates because the same address sometimes has multiple
225+
// entries in the CSV with different coordinates, for example:
225226
// 4.6863255,52.3094285,1115,Kruisweg,,Hoofddorp,,Noord-Holland,2131CV,,7c3c022a3d3d5f99
226227
// 4.6863538,52.3094487,1115,Kruisweg,,Hoofddorp,,Noord-Holland,2131CV,,857b39c71594b270
227228
let mut address_map: HashMap<(String, String), NewAddress> =

0 commit comments

Comments
 (0)