fix clippy: One argument is no longer needed

This commit is contained in:
Christof Petig
2020-11-23 19:17:19 +01:00
parent 813f63a1e5
commit 11f9d71fde

View File

@ -71,7 +71,7 @@ pub fn sample_wpos(config: &MapConfig, sampler: &WorldSim, wpos: Vec2<i32>) -> f
pub fn sample_pos( pub fn sample_pos(
config: &MapConfig, config: &MapConfig,
sampler: &WorldSim, sampler: &WorldSim,
index: IndexRef, _index: IndexRef,
samples: Option<&[Option<ColumnSample>]>, samples: Option<&[Option<ColumnSample>]>,
pos: Vec2<i32>, pos: Vec2<i32>,
) -> MapSample { ) -> MapSample {