From b546b1f189a4debd0bccaae376c99f896a199a0e Mon Sep 17 00:00:00 2001 From: liuzicheng1987 Date: Wed, 4 Oct 2023 20:07:32 +0200 Subject: [PATCH] Literals --- docs/literals.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/literals.md b/docs/literals.md index 8ed42f0b..6671a490 100644 --- a/docs/literals.md +++ b/docs/literals.md @@ -32,8 +32,8 @@ switch(my_literal.value()) { } ``` -Literals are stored as `uint8_t` or `uint16_t` under-the-hood. But you can extract their name using `.name()` as a string -or the underlying value using `.value`. +Literals are stored as `uint8_t` or `uint16_t` under-the-hood. But you can extract their name as a string using `.name()` +or the underlying value using `.value()`. ```cpp using MyLiteral = rfl::Literal<"option1", "option2", ...>;