From 335b6c0cbedc194949230253651c6372c529782c Mon Sep 17 00:00:00 2001 From: liuzicheng1987 Date: Tue, 28 Nov 2023 20:22:04 +0100 Subject: [PATCH] Fixed typo --- docs/field_syntax.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/field_syntax.md b/docs/field_syntax.md index a3a5c286..15ea0421 100644 --- a/docs/field_syntax.md +++ b/docs/field_syntax.md @@ -21,7 +21,7 @@ which are otherwise impossible. It also allows for functionalities like `rfl::re There are a two things you have to keep in mind: -1) If you annotate *some* of the fields using either `rfl::Field`, then you must annotate *all* of them using one of these two. +1) If you annotate *some* of the fields using `rfl::Field`, then you must annotate *all* of them. 2) If you are combining structs using `rfl::Flatten`, then they structs combined like this must either be annotated or not. You can initilize your struct like this: