1
Fork 0
mirror of https://github.com/Steffo99/patched-porobot.git synced 2024-12-22 17:44:22 +00:00

Fix some doc warnings

This commit is contained in:
Steffo 2022-08-07 05:41:33 +02:00
parent 838dafd028
commit 8ed792bda9
Signed by: steffo
GPG key ID: 6965406171929D01
2 changed files with 2 additions and 2 deletions

View file

@ -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)
}

View file

@ -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,