]> git.mikk.net Git - mtbl-rs/commit
More cleanup from "impl Iter" based sources
authorChris Mikkelson <cmikk@fsi.io>
Fri, 6 Sep 2024 21:23:57 +0000 (16:23 -0500)
committerChris Mikkelson <cmikk@fsi.io>
Fri, 6 Sep 2024 21:29:39 +0000 (16:29 -0500)
commit9e5cbfb817a6a8c4614259794be48b6f80aae259
treecc082ebc3b3f172777495d94b10c82483a6d6d5c
parent4a541a09fe7797eb1f14f32e6240f2c0d3e206ed
More cleanup from "impl Iter" based sources

Not having to explicitly name the iterator return types saves
the need to name the returned iterator's reference lifetimes, if any.
This removes the need to implement Source on a reference to a type
in order to assign `&self` a lifetime.

Once again, we can implment Source on an owned type reliably, saving
the need for pointer indirections.
src/dupsort_func.rs
src/merge_func.rs
src/merger.rs
src/source.rs