Skip to content

Commit

Permalink
grammar and misspellings (#2483)
Browse files Browse the repository at this point in the history
* grammar

* grammar

* misspelling
  • Loading branch information
coplat authored Sep 4, 2024
1 parent 95a4dde commit dc5d31c
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion src/core/executor.rs
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ impl Executor {

/// Spawn a task on the pool, returning a future completing on task success.
///
/// If the task panic, returns `Err(())`.
/// If the task panics, returns `Err(())`.
#[cfg(feature = "quickwit")]
pub fn spawn_blocking<T: Send + 'static>(
&self,
Expand Down
2 changes: 1 addition & 1 deletion src/query/all_query.rs
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ use crate::{DocId, Score};

/// Query that matches all of the documents.
///
/// All of the document get the score 1.0.
/// All of the documents get the score 1.0.
#[derive(Clone, Debug)]
pub struct AllQuery;

Expand Down
6 changes: 3 additions & 3 deletions src/query/phrase_query/phrase_query.rs
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ use crate::schema::{Field, IndexRecordOption, Term};

/// `PhraseQuery` matches a specific sequence of words.
///
/// For instance the phrase query for `"part time"` will match
/// the sentence
/// For instance, the phrase query for `"part time"` will match
/// the sentence:
///
/// **Alan just got a part time job.**
///
Expand All @@ -15,7 +15,7 @@ use crate::schema::{Field, IndexRecordOption, Term};
/// **This is my favorite part of the job.**
///
/// [Slop](PhraseQuery::set_slop) allows leniency in term proximity
/// for some performance tradeof.
/// for some performance trade-off.
///
/// Using a `PhraseQuery` on a field requires positions
/// to be indexed for this field.
Expand Down

0 comments on commit dc5d31c

Please sign in to comment.