Skip to content

Commit

Permalink
Removed redundant comment
Browse files Browse the repository at this point in the history
  • Loading branch information
coolGi69 committed Jun 17, 2024
1 parent 4e37bd4 commit b3ea2d4
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/linux/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -942,8 +942,6 @@ impl LinuxPackageReadout {
/// Returns the number of installed packages for systems
/// that utilize `nix` as their package manager.
fn count_nix() -> Option<usize> {
// Return the number of installed packages using nix's database (~10ms)
// as directly calling to nix is a bit more expensive (~40ms)
return 'sqlite: {
let db = "/nix/var/nix/db/db.sqlite";
if !Path::new(db).is_file() {
Expand Down

0 comments on commit b3ea2d4

Please sign in to comment.