Fixed typo

master
Sidhant29 2023-01-17 11:01:43 +10:00
parent caf52766be
commit 94bfb0600c
No known key found for this signature in database
1 changed files with 1 additions and 1 deletions

View File

@ -295,7 +295,7 @@ impl Document {
/// Add a float value to the document. /// Add a float value to the document.
/// ///
/// Args: /// 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. /// value (f64): The float that will be added to the document.
fn add_float(&mut self, field_name: String, value: f64) { fn add_float(&mut self, field_name: String, value: f64) {
add_value(self, field_name, value); add_value(self, field_name, value);