Fix a type inference complaint in tor-dirmgr's tests.
I have no idea why this just turned up now.
This commit is contained in:
parent
9c275a04ee
commit
6c6785c04d
|
@ -106,7 +106,7 @@ mod test {
|
|||
assert_eq!(val.get(), None);
|
||||
|
||||
val.replace(Vec::new());
|
||||
assert_eq!(val.get().unwrap().as_ref()[..], []);
|
||||
assert_eq!(val.get().unwrap().as_ref()[..], Vec::<u32>::new());
|
||||
|
||||
val.mutate(|v| {
|
||||
v.push(99);
|
||||
|
|
Loading…
Reference in New Issue