From 1fd21ee206d445d382dc056109e02f4fbc3ad82d Mon Sep 17 00:00:00 2001 From: Denis Kasak Date: Wed, 15 Jul 2020 11:54:30 +0200 Subject: [PATCH] Fix docstrings regarding return value related to disambiguation. --- matrix_sdk_base/src/models/room.rs | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/matrix_sdk_base/src/models/room.rs b/matrix_sdk_base/src/models/room.rs index 1d120128..05e347dc 100644 --- a/matrix_sdk_base/src/models/room.rs +++ b/matrix_sdk_base/src/models/room.rs @@ -342,8 +342,8 @@ impl Room { /// Returns a tuple of: /// /// 1. True if the event made changes to the room's state, false otherwise. - /// 2. Returns a map of display name disambiguations which tells us which - /// members need to have their display names disambiguated and to what. + /// 2. A map of display name ambiguity status changes (see + /// `disambiguation_updates`). /// /// # Arguments /// @@ -396,8 +396,8 @@ impl Room { /// Returns a tuple of: /// /// 1. True if the event made changes to the room's state, false otherwise. - /// 2. Returns a map of display name disambiguations which tells us which - /// members need to have their display names disambiguated and to what. + /// 2. A map of display name ambiguity status changes (see + /// `disambiguation_updates`). /// /// # Arguments /// @@ -605,8 +605,8 @@ impl Room { /// Returns a tuple of: /// /// 1. True if the joined member list changed, false otherwise. - /// 2. A map of display name disambiguations which tells us which members - /// need to have their display names disambiguated and to what. + /// 2. A map of display name ambiguity status changes (see + /// `disambiguation_updates`). pub fn handle_membership( &mut self, event: &StateEventStub, @@ -913,8 +913,8 @@ impl Room { /// Returns a tuple of: /// /// 1. True if the event made changes to the room's state, false otherwise. - /// 2. A map of display name disambiguations which tells us which members - /// need to have their display names disambiguated and to what. + /// 2. A map of display name ambiguity status changes (see + /// `disambiguation_updates`). /// /// # Arguments ///