From 70ecf269d05dbe99d63b8ffa97aa8623e581dc30 Mon Sep 17 00:00:00 2001 From: Denis Kasak Date: Mon, 1 Mar 2021 15:47:53 +0100 Subject: [PATCH] Improve docstring of GroupSessionManager::collect_session_recipients. --- matrix_sdk_crypto/src/session_manager/group_sessions.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/matrix_sdk_crypto/src/session_manager/group_sessions.rs b/matrix_sdk_crypto/src/session_manager/group_sessions.rs index eac5369b8..ebf08f9bc 100644 --- a/matrix_sdk_crypto/src/session_manager/group_sessions.rs +++ b/matrix_sdk_crypto/src/session_manager/group_sessions.rs @@ -213,10 +213,10 @@ impl GroupSessionManager { Ok((id, request, changed_sessions)) } - /// Given a list of user and an outbound session get the list of users and - /// devices that this session should be shared with. + /// Given a list of user and an outbound session, return the list of users and + /// their devices that this session should be shared with. /// - /// Returns a boolean indicating that the session needs to be rotated and + /// Returns a boolean indicating whether the session needs to be rotated and /// the list of users/devices that should receive the session. pub async fn collect_session_recipients( &self,