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:
Nick Mathewson 2021-10-07 09:26:36 -04:00
parent 9c275a04ee
commit 6c6785c04d
1 changed files with 1 additions and 1 deletions

View File

@ -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);