Re: [PATCH v6 26/26] MAINTAINERS: add entry for the Rust `alloc` module
From: Benno Lossin
Date: Tue Sep 10 2024 - 09:27:25 EST
On 04.09.24 14:57, Miguel Ojeda wrote:
> On Wed, Sep 4, 2024 at 2:51 PM Benno Lossin <benno.lossin@xxxxxxxxx> wrote:
>>
>> I forgot the reason for not using it, does anyone remember?
>
> One of the reasons argued was that `mod.rs` is the same name
> everywhere, and thus it is hard to notice the difference in some
> editors and may be harder to "jump into" in history/tabs/etc.
I don't usually open more than 2-4 files anyways, so it's not an issue
for me. But of course people's workflow is different, does anyone have a
problem with switching to `mod.rs`?
I have another reason that it might be nicer, when I want to edit eg
`init.rs` and I decide to directly open it with the editor from my
shell, not using my fuzzy finder, then I need to press tab to select
between `rust/kernel/init` and `rust/kernel/init.rs`.
---
Cheers,
Benno