[Virtio-fs] [virtiofsd-rs] MR merged: rustfmt: Set imports_granularity to Module
virtiofs-bot at sinrega.org
virtiofs-bot at sinrega.org
Wed Nov 3 12:47:46 UTC 2021
We do not have a consistent style that we use for import statements, which is a bit of a pain because that is nothing one should have to think about.
Let `cargo fmt` do the job for us by saying so in rustfmt.toml. The âModuleâ? granularity seems to fit our current âstyleâ? most closely, so letâs use that one.
(As suggested by Marc-André on MR !41 and issue #16, but using the âModuleâ? granularity just because that causes less changes than weâd get with âCrateâ?.)
---
https://gitlab.com/virtio-fs/virtiofsd-rs/-/merge_requests/43
More information about the Virtio-fs
mailing list