Update src/requests/has_payload.rs

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

View file

@ -22,7 +22,7 @@ pub trait HasPayload
// we wanted to use As{Mut,Ref} here, but they doesn't work
// because of https://github.com/rust-lang/rust/issues/77010
{
/// A type of the payload contained.
/// The type of the payload contained.
type Payload: Payload;
/// Gain mutable access to the underlying payload.