aboutsummaryrefslogtreecommitdiffstats
path: root/docs/source/arduino/semicolon.rst
diff options
context:
space:
mode:
Diffstat (limited to 'docs/source/arduino/semicolon.rst')
-rw-r--r--docs/source/arduino/semicolon.rst15
1 files changed, 5 insertions, 10 deletions
diff --git a/docs/source/arduino/semicolon.rst b/docs/source/arduino/semicolon.rst
index b3cc8c4..3230819 100644
--- a/docs/source/arduino/semicolon.rst
+++ b/docs/source/arduino/semicolon.rst
@@ -1,16 +1,11 @@
-.. _arduino-semicolon:
-
-; semicolon
-===========
-
-Used to end a statement.
-
+.. highlight:: cpp
+.. _arduino-semicolon:
-Example
-~~~~~~~
+Semicolon (;)
+=============
-::
+Used to end a line of code. Example::
int a = 13;