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:
Jonas Platte
2022-11-04 10:22:01 +01:00
committed by Jonas Platte
parent 5601435449
commit c014f980cb

View File

@@ -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>);