events: Remove unnecessary Box around Raw
This commit is contained in:
		
							parent
							
								
									d20f42617c
								
							
						
					
					
						commit
						5ff113a286
					
				| @ -214,7 +214,7 @@ impl Thread { | |||||||
| #[cfg_attr(not(feature = "unstable-exhaustive-types"), non_exhaustive)] | #[cfg_attr(not(feature = "unstable-exhaustive-types"), non_exhaustive)] | ||||||
| pub struct BundledThread { | pub struct BundledThread { | ||||||
|     /// The latest event in the thread.
 |     /// The latest event in the thread.
 | ||||||
|     pub latest_event: Box<Raw<AnyMessageLikeEvent>>, |     pub latest_event: Raw<AnyMessageLikeEvent>, | ||||||
| 
 | 
 | ||||||
|     /// The number of events in the thread.
 |     /// The number of events in the thread.
 | ||||||
|     pub count: UInt, |     pub count: UInt, | ||||||
| @ -226,7 +226,7 @@ pub struct BundledThread { | |||||||
| impl BundledThread { | impl BundledThread { | ||||||
|     /// Creates a new `BundledThread` with the given event, count and user participated flag.
 |     /// Creates a new `BundledThread` with the given event, count and user participated flag.
 | ||||||
|     pub fn new( |     pub fn new( | ||||||
|         latest_event: Box<Raw<AnyMessageLikeEvent>>, |         latest_event: Raw<AnyMessageLikeEvent>, | ||||||
|         count: UInt, |         count: UInt, | ||||||
|         current_user_participated: bool, |         current_user_participated: bool, | ||||||
|     ) -> Self { |     ) -> Self { | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user