Correct docstring.

master
Denis Kasak 2020-07-01 14:02:37 +02:00
parent 6cacf83661
commit 5f49dab1fa
1 changed files with 1 additions and 1 deletions

View File

@ -763,7 +763,7 @@ impl Room {
/// ///
/// # Arguments /// # Arguments
/// ///
/// * `event` - The presence event for a specified room member. /// * `event` - The presence event to receive and process.
pub fn receive_presence_event(&mut self, event: &PresenceEvent) -> bool { pub fn receive_presence_event(&mut self, event: &PresenceEvent) -> bool {
if let Some(member) = self.joined_members.get_mut(&event.sender) { if let Some(member) = self.joined_members.get_mut(&event.sender) {
if member.did_update_presence(event) { if member.did_update_presence(event) {