From 8ed792bda9052fc8ffc5445220477181d91e9ea9 Mon Sep 17 00:00:00 2001 From: Stefano Pigozzi Date: Sun, 7 Aug 2022 05:41:33 +0200 Subject: [PATCH] Fix some doc warnings --- src/data/setbundle/card.rs | 2 +- src/search/cardsearch.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/data/setbundle/card.rs b/src/data/setbundle/card.rs index 6037453..77c2a5f 100644 --- a/src/data/setbundle/card.rs +++ b/src/data/setbundle/card.rs @@ -153,7 +153,7 @@ impl Card { /// Get a reference to the first [CardArt] of the card. /// - /// Equivalent to calling [CardArt].[art](super::art::CardArt::art).[get(0)]([T]::get). + /// Equivalent to calling [Card].[art](Card::art).[get(0)]([T]::get). pub fn main_art(&self) -> Option<&CardArt> { self.art.get(0) } diff --git a/src/search/cardsearch.rs b/src/search/cardsearch.rs index de61b27..9e12613 100644 --- a/src/search/cardsearch.rs +++ b/src/search/cardsearch.rs @@ -249,7 +249,7 @@ impl CardSearchEngine { ) } - /// Build the [tantivy::QueryParser] of the search engine. + /// Build the [QueryParser] of the search engine. fn parser(index: &Index, fields: CardSchemaFields) -> QueryParser { QueryParser::for_index( &index,