Skip to content

Commit

Permalink
Removed unnecessary check
Browse files Browse the repository at this point in the history
  • Loading branch information
arctic-alpaca committed Jun 24, 2020
1 parent dc57a7b commit 8d247b0
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions src/linux/component.rs
Original file line number Diff line number Diff line change
Expand Up @@ -209,9 +209,5 @@ pub fn get_components() -> Vec<Component> {
None,
));
}
if components.len() != 0 {
components
} else {
Vec::new()
}
components
}

0 comments on commit 8d247b0

Please sign in to comment.