File tree Expand file tree Collapse file tree 3 files changed +2
-3
lines changed Expand file tree Collapse file tree 3 files changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -26,7 +26,7 @@ static A: Allocator = Allocator;
2626#[ test]
2727fn message_from_boxed_slice ( ) {
2828 let mut b: Box < [ u8 ] > = Box :: new ( [ 0u8 ; 42 ] ) ;
29- CHECK_PTR . store ( b. as_mut_ptr ( ) as * mut u8 , Ordering :: SeqCst ) ;
29+ CHECK_PTR . store ( b. as_mut_ptr ( ) , Ordering :: SeqCst ) ;
3030 let _ = zmq:: Message :: from ( b) ;
3131 assert_eq ! ( CHECK_PTR . load( Ordering :: SeqCst ) , ptr:: null_mut( ) ) ;
3232}
Original file line number Diff line number Diff line change 22mod common;
33
44use std:: str;
5- use std:: u16;
65
76fn version_ge_4_3 ( ) -> bool {
87 let ( major, minor, _) = zmq:: version ( ) ;
Original file line number Diff line number Diff line change @@ -33,12 +33,12 @@ fn test_decode_errors() {
3333 }
3434}
3535
36+ /*
3637// Valid input for z85 encoding (i.e. a slice of bytes with its length
3738// being a multiple of 4)
3839#[derive(Clone, Debug)]
3940struct Input(Vec<u8>);
4041
41- /*
4242// Disabled because quickcheck doesn't expose gen_range and gen anymore
4343
4444impl Arbitrary for Input {
You can’t perform that action at this time.
0 commit comments