Remove unused variables

This commit is contained in:
Matthias Beyer 2016-03-21 19:39:46 +01:00
parent 2fb59b3ae6
commit 8aa3f31970

View file

@ -54,7 +54,7 @@ impl StoreIdAccessor for Aspect {
&HDA::StoreIdAccess(accessor) => accessor.access(id), &HDA::StoreIdAccess(accessor) => accessor.access(id),
_ => unreachable!(), _ => unreachable!(),
} }
.map_err(|e| ()) // TODO: We're losing the error cause here .map_err(|_| ()) // TODO: We're losing the error cause here
}) })
}) })
}) })
@ -121,7 +121,7 @@ impl NonMutableHookDataAccessor for Aspect {
&HDA::NonMutableAccess(accessor) => accessor.access(fle), &HDA::NonMutableAccess(accessor) => accessor.access(fle),
_ => unreachable!(), _ => unreachable!(),
} }
.map_err(|e| ()) // TODO: We're losing the error cause here .map_err(|_| ()) // TODO: We're losing the error cause here
}) })
}) })
}) })