mirror of
https://github.com/matrix-org/matrix-rust-sdk.git
synced 2026-05-14 11:05:32 -04:00
chore(sdk): Remove invalid comment
I have tried for hours and have concluded it is probably not possible even with GATs to have RawEvent borrow its inner value. It is also not a commonly-used feature, so removing the unnecessary clones is not that important.
This commit is contained in:
committed by
Jonas Platte
parent
5601435449
commit
c014f980cb
@@ -58,8 +58,6 @@ impl EventHandlerContext for room::Room {
|
||||
///
|
||||
/// Used as a context argument for event handlers (see
|
||||
/// [`Client::add_event_handler`]).
|
||||
// FIXME: This could be made to not own the raw JSON value with some changes to
|
||||
// the traits above, but only with GATs.
|
||||
#[derive(Clone, Debug)]
|
||||
pub struct RawEvent(Box<RawJsonValue>);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user