Commit ea4604f968

ea4604f96893447973f076c30df0de99cca84e98

parent: 3c2db90e68

Unsigned

Damir Jelić <poljar@termina.org.uk> · 2020-07-13 17:50 UTC

room_buffer: Fix a comment about the typing notice guard.

Layout: unified · split

src/room_buffer.rs +2 −2
@@ -265,8 +265,8 @@ impl RoomBuffer {
265265 }
266266 };
267267
268 // The `_guard` expires here, releasing the mutex taken at the beginning of
269 // `update_typing_notice`.
268 // The `guard` expires here, releasing the mutex taken at the
269 // beginning of `update_typing_notice`.
270270 };
271271
272272 let typing_time = self.inner.typing_notice_time.borrow_mut();