Skip to content

Commit 1ff325e

Browse files
committed
Fixed tests
1 parent 04a3869 commit 1ff325e

File tree

2 files changed

+2
-8
lines changed

2 files changed

+2
-8
lines changed

epserde/tests/test_boxed_slice.rs

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -14,12 +14,6 @@ struct Data<A: PartialEq = usize, const Q: usize = 3> {
1414
b: [i32; Q],
1515
}
1616

17-
/*#[derive(Epserde, Debug, PartialEq, Eq, Clone)]
18-
struct B<C: PartialEq> {
19-
c: C,
20-
}
21-
*/
22-
2317
#[test]
2418
fn test_boxed_slices() -> Result<()> {
2519
let a = vec![1, 2, 3, 4].into_boxed_slice();

epserde/tests/test_generics.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -137,8 +137,8 @@ fn test_types_zero_copy_param() {
137137
&ZeroCopyParam { data: [1, 2, 3, 4] };
138138
}
139139

140-
// Check that bounds are proparagated to associated
141-
// (de)serialization types.
140+
// Check that bounds are propagated to associated (de)serialization types.
141+
#[allow(dead_code)]
142142
#[derive(Epserde, Copy, Debug, PartialEq, Eq, Clone)]
143143
enum DeepCopyEnumParam<T: ZeroCopy> {
144144
A(T),

0 commit comments

Comments
 (0)