Re: [PATCH] rust: clk: use the type-state pattern

From: Daniel Almeida
Date: Wed Jul 30 2025 - 09:46:36 EST


Hi Alice,


> It seems a bit much to have macros for everything.

I understand your point of view, but at this point the “mod private”
boilerplate is growing by the day.

It would at least make reviews slightly easier, because reviewers don't have to
ask themselves whether the submitter implemented the pattern correctly.

IMHO, of course.

— Daniel