Update src/requests/payload.rs

Co-authored-by: Waffle Lapkin <waffle.lapkin@gmail.com>
This commit is contained in:
Temirkhan Myrzamadi 2020-12-23 23:18:20 +06:00 committed by GitHub
parent f1e5f3f1b3
commit edc12d0008
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -7,7 +7,7 @@
/// request to Telegram.
#[cfg_attr(all(docsrs, feature = "nightly"), doc(spotlight))]
pub trait Payload {
/// A return type of a Telegram method.
/// The return type of a Telegram method.
///
/// Note: it should not include `Result` wrappers (e.g. it should be simply
/// [`Message`], [`True`] or something else).