diff options
author | Matthias Beyer <mail@beyermatthias.de> | 2018-11-07 17:30:46 +0100 |
---|---|---|
committer | Matthias Beyer <mail@beyermatthias.de> | 2018-11-09 21:48:25 +0100 |
commit | 9cfa9fc3995173b4c5f8da569a51c9fcc1696474 (patch) | |
tree | d5499c39d86748e931e27a01899ad98251609a1c /lib/domain/libimagtimetrack/src/iter/storeid.rs | |
parent | ed469f622a2f0f2f478ad0689415d465f028de1c (diff) |
Make code more idomatic
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
Diffstat (limited to 'lib/domain/libimagtimetrack/src/iter/storeid.rs')
-rw-r--r-- | lib/domain/libimagtimetrack/src/iter/storeid.rs | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/lib/domain/libimagtimetrack/src/iter/storeid.rs b/lib/domain/libimagtimetrack/src/iter/storeid.rs index 63728ad2..eef42e7c 100644 --- a/lib/domain/libimagtimetrack/src/iter/storeid.rs +++ b/lib/domain/libimagtimetrack/src/iter/storeid.rs @@ -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> { |