fixup! hide packets to reduce api surface for new users
This commit is contained in:
		
							parent
							
								
									46cb48c126
								
							
						
					
					
						commit
						21cc7e3f12
					
				
					 2 changed files with 7 additions and 4 deletions
				
			
		|  | @ -492,9 +492,12 @@ impl Command { | |||
| #[cfg(test)] | ||||
| mod tests { | ||||
|     use crate::{ | ||||
|         bitvec::prelude::BitVec, command::TryFromPacketError, | ||||
|         command_code::CommandCode, origin::Pixels, Brightness, Command, | ||||
|         CompressionCode, Header, Origin, Packet, PixelGrid, PrimitiveGrid, | ||||
|         bitvec::prelude::BitVec, | ||||
|         command::TryFromPacketError, | ||||
|         command_code::CommandCode, | ||||
|         origin::Pixels, | ||||
|         packet::{Header, Packet}, | ||||
|         Brightness, Command, CompressionCode, Origin, PixelGrid, PrimitiveGrid, | ||||
|     }; | ||||
| 
 | ||||
|     fn round_trip(original: Command) { | ||||
|  |  | |||
|  | @ -316,7 +316,7 @@ impl Packet { | |||
| 
 | ||||
| #[cfg(test)] | ||||
| mod tests { | ||||
|     use crate::{Header, Packet}; | ||||
|     use super::*; | ||||
| 
 | ||||
|     #[test] | ||||
|     fn round_trip() { | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Vinzenz Schroeter
						Vinzenz Schroeter