systemd / zram-generator

Systemd unit generator for zram devices
MIT License
575 stars 48 forks source link

generator.rs: `FromIterator` is imported redundantly #195

Closed pheiduck closed 5 months ago

pheiduck commented 5 months ago

Until now only affects rust beta and nightly.

nabijaczleweli commented 5 months ago

or we could just not care and not explicitly break compat

pheiduck commented 5 months ago

otherwise we could implement a condition.

nabijaczleweli commented 5 months ago

just mark it #[allow(unused_imports)]

pheiduck commented 5 months ago

just mark it #[allow(unused_imports)]

Done.

pheiduck commented 5 months ago

I saw, that systemd is using git rebase so the other PR #193 was closed during that as I force push before. Will take care next time of that as well.

pheiduck commented 5 months ago

Rust give care about that so the Patch is not needed.