From 150740359610b92a5978f66c3655adf40c1a0be0 Mon Sep 17 00:00:00 2001 From: Mubelotix Date: Fri, 1 Aug 2025 12:11:32 +0200 Subject: [PATCH] Add documentation Co-Authored-By: Louis Dureuil --- crates/milli/src/prompt/mod.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/crates/milli/src/prompt/mod.rs b/crates/milli/src/prompt/mod.rs index 8fcdce5ad..04556940c 100644 --- a/crates/milli/src/prompt/mod.rs +++ b/crates/milli/src/prompt/mod.rs @@ -167,6 +167,7 @@ fn truncate(s: &mut String, max_bytes: usize) { } } +/// Build the liquid objects corresponding to the `doc` and `fields` object of a [`Prompt`] from the given external document id. pub fn get_document( index: &Index, rtxn: &RoTxn<'_>,