Apply suggestions from code review

Co-authored-by: Hirrolot <hirrolot@gmail.com>
This commit is contained in:
Waffle Lapkin 2021-03-30 16:24:41 +03:00 committed by GitHub
parent 5b99565289
commit 747898c310
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -150,7 +150,7 @@ impl Deref for ChatMember {
}
}
/// Simple methods to check user status.
/// Simple methods for checking a user status.
impl ChatMemberKind {
/// Returns chat member status.
pub fn status(&self) -> ChatMemberStatus {
@ -212,7 +212,7 @@ impl ChatMemberKind {
}
}
/// Compound methods to check user status.
/// Compound methods for checking a user status.
impl ChatMemberKind {
/// Returns `true` if the user is privileged in the given chat. i.e. if the
/// user is either the [creator] or an [administrator] in the given chat.