mirror of
https://github.com/teloxide/teloxide.git
synced 2025-01-09 19:49:19 +01:00
Update src/requests/has_payload.rs
Co-authored-by: Waffle Lapkin <waffle.lapkin@gmail.com>
This commit is contained in:
parent
914ddd40bb
commit
dc7092fed5
1 changed files with 1 additions and 1 deletions
|
@ -22,7 +22,7 @@ pub trait HasPayload
|
||||||
// we wanted to use As{Mut,Ref} here, but they doesn't work
|
// we wanted to use As{Mut,Ref} here, but they doesn't work
|
||||||
// because of https://github.com/rust-lang/rust/issues/77010
|
// 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;
|
type Payload: Payload;
|
||||||
|
|
||||||
/// Gain mutable access to the underlying payload.
|
/// Gain mutable access to the underlying payload.
|
||||||
|
|
Loading…
Reference in a new issue