diff --git a/rust/src/events/json_object.rs b/rust/src/events/json_object.rs index bfb3396792..ef6f3ef442 100644 --- a/rust/src/events/json_object.rs +++ b/rust/src/events/json_object.rs @@ -212,8 +212,7 @@ impl JsonObject { self.object.get(key) } - /// Returns a `serde_json::Value::Object` containing a clone of this - /// object's entries. + /// Returns a reference to the underlying map of this object's entries. pub fn as_map(&self) -> &BTreeMap, Value> { &self.object }