Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.
Fix grammar in comments (#48693)
BlankWasThereb66e6ea02f73
diff --git a/crates/project/src/project.rs b/crates/project/src/project.rsindex 265c8147da4..e0e8cc78fd6 100644--- a/crates/project/src/project.rs+++ b/crates/project/src/project.rs@@ -488,11 +488,11 @@ pub struct InlayHint {pub resolve_state: ResolveState,}-/// The user's intent behind a given completion confirmation+/// The user's intent behind a given completion confirmation.#[derive(PartialEq, Eq, Hash, Debug, Clone, Copy)]pub enum CompletionIntent {- /// The user intends to 'commit' this result, if possible- /// completion confirmations should run side effects.+ /// The user intends to 'commit' this result, if possible.+ /// Completion confirmations should run side effects.////// For LSP completions, will respect the setting `completions.lsp_insert_mode`.Complete,@@ -500,9 +500,9 @@ pub enum CompletionIntent {CompleteWithInsert,/// Similar to [Self::Complete], but behaves like `lsp_insert_mode` is set to `replace`.CompleteWithReplace,- /// The user intends to continue 'composing' this completion- /// completion confirmations should not run side effects and- /// let the user continue composing their action+ /// The user intends to continue 'composing' this completion.+ /// Completion confirmations should not run side effects and+ /// let the user continue composing their action.Compose,}@@ -540,7 +540,7 @@ pub struct Completion {/// Whether to adjust indentation (the default) or not.pub insert_text_mode: Option<InsertTextMode>,/// An optional callback to invoke when this completion is confirmed.- /// Returns, whether new completions should be retriggered after the current one.+ /// Returns whether new completions should be retriggered after the current one./// If `true` is returned, the editor will show a new completion menu after this completion is confirmed./// if no confirmation is provided or `false` is returned, the completion will be committed.pub confirm: Option<Arc<dyn Send + Sync + Fn(CompletionIntent, &mut Window, &mut App) -> bool>>,@@ -668,7 +668,7 @@ impl std::fmt::Debug for Completion {pub struct CompletionResponse {pub completions: Vec<Completion>,pub display_options: CompletionDisplayOptions,- /// When false, indicates that the list is complete and so does not need to be re-queried if it+ /// When false, indicates that the list is complete and does not need to be re-queried if it/// can be filtered instead.pub is_incomplete: bool,}@@ -688,7 +688,7 @@ impl CompletionDisplayOptions {#[derive(Clone, Debug, Default)]pub(crate) struct CoreCompletionResponse {pub completions: Vec<CoreCompletion>,- /// When false, indicates that the list is complete and so does not need to be re-queried if it+ /// When false, indicates that the list is complete and does not need to be re-queried if it/// can be filtered instead.pub is_incomplete: bool,}