From ba49df41371ce018aa3d092c6163b7b9a7c73cdc Mon Sep 17 00:00:00 2001 From: campeis <12007735+campeis@users.noreply.github.com> Date: Mon, 11 Dec 2023 06:51:16 +0100 Subject: [PATCH] Improve documentation --- README.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/README.md b/README.md index dbe1f3d..a7d7c02 100644 --- a/README.md +++ b/README.md @@ -84,6 +84,10 @@ fn main() { ``` ### All Default fields in the struct + +If all fields of the struct to be built have valid Default implementwtion, the use of +default() for all the fields could be set at struct level. + ```rust use type_safe_builder_macro::Builder;