2023-07-14 10:05:26

by Alice Ryhl

[permalink] [raw]
Subject: Re: [PATCH] rust: kernel: str: Implement Debug for CString

Asahi Lina <[email protected]> writes:
> Trivial implementation.
>
> Signed-off-by: Asahi Lina <[email protected]>

The commit message is a bit short, but the change itself looks fine.

Reviewed-by: Alice Ryhl <[email protected]>



2023-07-14 12:53:31

by Asahi Lina

[permalink] [raw]
Subject: Re: [PATCH] rust: kernel: str: Implement Debug for CString

On 14/07/2023 18.48, Alice Ryhl wrote:
> Asahi Lina <[email protected]> writes:
>> Trivial implementation.
>>
>> Signed-off-by: Asahi Lina <[email protected]>
>
> The commit message is a bit short, but the change itself looks fine.
>
> Reviewed-by: Alice Ryhl <[email protected]>

It's so trivial I just didn't know what else to write... suggestions
welcome (for this or next time I have a patch like this) ^^

~~ Lina


Subject: Re: [PATCH] rust: kernel: str: Implement Debug for CString

On 7/14/23 09:21, Asahi Lina wrote:
> On 14/07/2023 18.48, Alice Ryhl wrote:
>> Asahi Lina <[email protected]> writes:
>>> Trivial implementation.
>>>
>>> Signed-off-by: Asahi Lina <[email protected]>
>>
>> The commit message is a bit short, but the change itself looks fine.
>>
>> Reviewed-by: Alice Ryhl <[email protected]>
>
> It's so trivial I just didn't know what else to write... suggestions
> welcome (for this or next time I have a patch like this) ^^
>
> ~~ Lina
>

Just describe what it does, like "cast the `CStr` to an `&str` and call
`fmt::Debug::fmt` with it". I'll add my Reviewed-by, so retain it in
case it's asked to change the commit message.

Reviewed-by: Martin Rodriguez Reboredo <[email protected]>