diff options
author | Kornel <kornel@geekhood.net> | 2020-02-19 00:10:18 +0000 |
---|---|---|
committer | Kornel <kornel@geekhood.net> | 2020-02-19 00:13:15 +0000 |
commit | 55a1efad3a81ed9396f67614bccb178839a2ee28 (patch) | |
tree | 7cffa193596ae25ab660711e572ab49585334d62 /crate_db/src/lib_crate_db.rs | |
parent | f4b23897d1a0ad33663ab5f20089c5e3975d5ae9 (diff) |
Dedup tuning
Diffstat (limited to 'crate_db/src/lib_crate_db.rs')
-rw-r--r-- | crate_db/src/lib_crate_db.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crate_db/src/lib_crate_db.rs b/crate_db/src/lib_crate_db.rs index c245fed..e8faafd 100644 --- a/crate_db/src/lib_crate_db.rs +++ b/crate_db/src/lib_crate_db.rs @@ -388,7 +388,7 @@ impl CrateDb { if categories.is_empty() { write!(&mut out, "[no categories!] ")?; } - if !had_explicit_categories { + if !had_explicit_categories && !categories.is_empty() { write!(&mut out, "[guessed categories]: ")?; } for (rank, rel, slug) in categories { |