Make code more idomatic

Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
This commit is contained in:
Matthias Beyer 2018-11-07 17:30:46 +01:00
parent ed469f622a
commit 9cfa9fc399

View file

@ -36,10 +36,7 @@ pub struct TagStoreIdIter {
impl TagStoreIdIter {
pub fn new(inner: TagIter, datetime: NDT) -> TagStoreIdIter {
TagStoreIdIter {
inner: inner,
datetime: datetime,
}
TagStoreIdIter { inner, datetime }
}
pub fn create_entries<'a>(self, store: &'a Store) -> CreateTimeTrackIter<'a> {