mirror of
https://github.com/Steffo99/patched-porobot.git
synced 2024-12-23 01:54:22 +00:00
Fix some doc warnings
This commit is contained in:
parent
838dafd028
commit
8ed792bda9
2 changed files with 2 additions and 2 deletions
|
@ -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)
|
||||
}
|
||||
|
|
|
@ -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,
|
||||
|
|
Loading…
Reference in a new issue