From 7e8b253a271b76c1fbda10ca3e9c8f45008f8f55 Mon Sep 17 00:00:00 2001 From: "Jakob L. Kreuze" Date: Thu, 28 May 2020 19:02:00 -0400 Subject: Refactor. --- src/database.rs | 1 + 1 file changed, 1 insertion(+) (limited to 'src/database.rs') diff --git a/src/database.rs b/src/database.rs index 61a51cb..055d1ef 100644 --- a/src/database.rs +++ b/src/database.rs @@ -252,6 +252,7 @@ impl TagDatabase { }) } + /// Return the `n` greatest tags, ordered by number of associated images. pub fn top_tags(&self, n: i64) -> Result> { Ok(self .0 -- cgit v1.3