Macchina-CLI / libmacchina

A library providing access to all sorts of system information.
https://crates.io/crates/libmacchina
MIT License
68 stars 20 forks source link

Fix cargo count #128

Closed TheCactusVert closed 1 year ago

TheCactusVert commented 1 year ago

The function count_cargo always return None. The following code is dead code:

match read_dir.count() {
    0 => None,
    pkgs => Some(pkgs),
};
grtcdr commented 1 year ago

I fixed the failing CI, clippy has made a lot of progress lately so it's catching a lot of mistakes :)