From d7d098ba35b597d24df2a94977392caa1894bf8c Mon Sep 17 00:00:00 2001 From: Jimmy Cuadra Date: Tue, 9 Jul 2019 00:13:58 -0700 Subject: [PATCH] Clarify what reference hashes are used for. --- src/functions.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/functions.rs b/src/functions.rs index 1c659a92..129c0c03 100644 --- a/src/functions.rs +++ b/src/functions.rs @@ -125,7 +125,7 @@ pub fn content_hash(value: &Value) -> Result { /// Creates a *reference hash* for the JSON representation of an event. /// /// The reference hash of an event covers the essential fields of an event, including content -/// hashes. It is used during federation and is described in the Matrix server-server +/// hashes. It is used to generate event identifiers and is described in the Matrix server-server /// specification. pub fn reference_hash(value: &Value) -> Result { let redacted_value = redact(value)?;