docs: correct grammar (#2704)

Correct phrasing for a single line in the docs (`one documents` -> `a document`).
This commit is contained in:
Mustafa S. Moiz
2025-10-08 07:47:09 -07:00
committed by GitHub
parent 40659d4d07
commit 714366d3b9

View File

@@ -55,7 +55,7 @@
//! // between indexing threads.
//! let mut index_writer: IndexWriter = index.writer(100_000_000)?;
//!
//! // Let's index one documents!
//! // Let's index a document!
//! index_writer.add_document(doc!(
//! title => "The Old Man and the Sea",
//! body => "He was an old man who fished alone in a skiff in \