mirror of
https://github.com/teloxide/teloxide.git
synced 2025-03-14 11:44:04 +01:00
Apply suggestions from code review
Co-authored-by: Hirrolot <hirrolot@gmail.com>
This commit is contained in:
parent
5b99565289
commit
747898c310
1 changed files with 2 additions and 2 deletions
|
@ -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.
|
||||
|
|
Loading…
Add table
Reference in a new issue