From 94bfb0600c130b768d0a2c4d6efd91dfbb0f52ac Mon Sep 17 00:00:00 2001 From: Sidhant29 Date: Tue, 17 Jan 2023 11:01:43 +1000 Subject: [PATCH] Fixed typo --- src/document.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/document.rs b/src/document.rs index c080a82..92ae7e1 100644 --- a/src/document.rs +++ b/src/document.rs @@ -295,7 +295,7 @@ impl Document { /// Add a float value to the document. /// /// Args: - /// field_name (str): The field name for which we are adding the integer. + /// field_name (str): The field name for which we are adding the value. /// value (f64): The float that will be added to the document. fn add_float(&mut self, field_name: String, value: f64) { add_value(self, field_name, value);