aboutsummaryrefslogtreecommitdiffstats
path: root/docs/source/lang/cpp/enum.rst
diff options
context:
space:
mode:
authorMarti Bolivar <mbolivar@leaflabs.com>2011-02-09 21:10:34 -0500
committerMarti Bolivar <mbolivar@leaflabs.com>2011-02-09 21:10:34 -0500
commit2a0c7510fb91ba4a11b6772a8ae72685823907f8 (patch)
treed73f5ba8dc722032ab4f7efc913eecf2fd57dff4 /docs/source/lang/cpp/enum.rst
parent7366564129bf4e4030e9083f4521eda49d985fb8 (diff)
downloadlibrambutan-2a0c7510fb91ba4a11b6772a8ae72685823907f8.tar.gz
librambutan-2a0c7510fb91ba4a11b6772a8ae72685823907f8.zip
Fixed docs bug where we say "long" when we mean "long long"
Diffstat (limited to 'docs/source/lang/cpp/enum.rst')
-rw-r--r--docs/source/lang/cpp/enum.rst3
1 files changed, 1 insertions, 2 deletions
diff --git a/docs/source/lang/cpp/enum.rst b/docs/source/lang/cpp/enum.rst
index ba82383..b6409eb 100644
--- a/docs/source/lang/cpp/enum.rst
+++ b/docs/source/lang/cpp/enum.rst
@@ -18,8 +18,7 @@ which has values ``HOT``, ``COMFY``, and ``COLD``::
enum weather {HOT, COMFY, COLD};
Once you've defined this type, you can create variables of type
-``weather``, in the same way you would with an :ref:`int <lang-int>`
-or a :ref:`long <lang-long>`::
+``weather``, in the same way you would with an :ref:`int <lang-int>`::
// create a weather variable named theWeather, with value COMFY:
weather theWeather = COMFY;