diff options
| author | bors[bot] <26634292+bors[bot]@users.noreply.github.com> | 2020-10-15 17:13:37 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-10-15 17:13:37 +0000 |
| commit | 8b53b9d10cd5fee85d98cd337b478cf3d3305b12 (patch) | |
| tree | 896d527bfd204f788eacc3dc791966fb88e287be /macros/src/analyze.rs | |
| parent | 355cb82d0693fe108ac28ec8a0d77e8aab4e6e06 (diff) | |
| parent | 21253297e4a11a1d9f9c5069578cf9c69a3de31b (diff) | |
Merge #393
393: Implement all clippy suggestions r=korken89 a=AfoHT
Co-authored-by: Henrik Tjäder <henrik@tjaders.com>
Diffstat (limited to 'macros/src/analyze.rs')
| -rw-r--r-- | macros/src/analyze.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/macros/src/analyze.rs b/macros/src/analyze.rs index e0231a2..2301167 100644 --- a/macros/src/analyze.rs +++ b/macros/src/analyze.rs @@ -28,7 +28,7 @@ pub fn app(analysis: P<analyze::Analysis>, app: &App) -> P<Analysis> { let priorities = app .software_tasks .values() - .filter_map(|task| Some(task.args.priority)) + .map(|task| task.args.priority) .collect::<BTreeSet<_>>(); if !priorities.is_empty() { |
