summaryrefslogtreecommitdiffstats
path: root/docs/concepts.rst
diff options
context:
space:
mode:
authorPetteri Aimonen <jpa@git.mail.kapsi.fi>2016-09-02 07:21:24 +0300
committerPetteri Aimonen <jpa@git.mail.kapsi.fi>2016-09-02 07:21:24 +0300
commit91bb64a47b36b112c9b22391ef76fab29cf2cffc (patch)
tree11bab010931b12e1853e0e9463df2ed2efc246c0 /docs/concepts.rst
parent1e6e1b586bf566b14a5c93483c4f26311fad8297 (diff)
Fix typo in docs (thanks to @alecdavis)
Diffstat (limited to 'docs/concepts.rst')
-rw-r--r--docs/concepts.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/concepts.rst b/docs/concepts.rst
index ef880cff..ea33863c 100644
--- a/docs/concepts.rst
+++ b/docs/concepts.rst
@@ -164,7 +164,7 @@ required bytes data = 1 [(nanopb).max_size = 40];
| pb_byte_t bytes[40];
| } Person_data_t;
| Person_data_t data;
-required bytes data = 1 [(nanopb).max_size = 40, (nanopb.type) = FT_INLINE]; | pb_byte_t data[40];
+required bytes data = 1 [(nanopb).max_size = 40, (nanopb).type = FT_INLINE]; | pb_byte_t data[40];
=============================================================================== =======================
The maximum lengths are checked in runtime. If string/bytes/array exceeds the allocated length, *pb_decode* will return false.