Fmt
This commit is contained in:
parent
083f8a982e
commit
e90a3285a1
6 changed files with 25 additions and 32 deletions
|
|
@ -368,12 +368,7 @@ pub fn compute_crime_by_year(
|
|||
/// force-level publication gaps (e.g. Greater Manchester ends mid-2019) as
|
||||
/// stale data instead of letting old numbers read as current.
|
||||
pub fn crime_latest_available_year(crime_by_year: &CrimeByYearData) -> Option<i32> {
|
||||
crime_by_year
|
||||
.years_by_type
|
||||
.iter()
|
||||
.flatten()
|
||||
.copied()
|
||||
.max()
|
||||
crime_by_year.years_by_type.iter().flatten().copied().max()
|
||||
}
|
||||
|
||||
pub fn compute_poi_feature_stats(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue