From 8077170f217510f3037d2058a5060df01cf29cf3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?D=C3=A1niel=20Buga?= Date: Thu, 7 Nov 2024 16:31:47 +0100 Subject: [PATCH] Restore builder rule --- documentation/API-GUIDELINES.md | 1 + 1 file changed, 1 insertion(+) diff --git a/documentation/API-GUIDELINES.md b/documentation/API-GUIDELINES.md index 0827ae53de..90a5344b5e 100644 --- a/documentation/API-GUIDELINES.md +++ b/documentation/API-GUIDELINES.md @@ -28,6 +28,7 @@ The following paragraphs contain additional recommendations. - `into_blocking` should undo the configuration done by `into_async`. - The asynchronous driver implemntation should also expose the blocking methods (except for interrupt related functions). - Consider adding a `Drop` implementation resetting the peripheral to idle state. +- Consider using a builder-like pattern for driver construction. ## Interoperability