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 {
265 } 265 }
266 }; 266 };
267 267
268 // The `_guard` expires here, releasing the mutex taken at the beginning of 268 // The `guard` expires here, releasing the mutex taken at the
269 // `update_typing_notice`. 269 // beginning of `update_typing_notice`.
270 }; 270 };
271 271
272 let typing_time = self.inner.typing_notice_time.borrow_mut(); 272 let typing_time = self.inner.typing_notice_time.borrow_mut();