aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJordan Rose <jordan_rose@apple.com>2012-09-06 02:19:13 +0000
committerJordan Rose <jordan_rose@apple.com>2012-09-06 02:19:13 +0000
commita285e7d0af4eecb7400bdc633c703b34a82596b5 (patch)
tree0e4dd5b6f28d9a4547a4f553962d264c31ce723a
parent69e4826edc1858d9e2cdef508b469af750ec2b09 (diff)
Fix a mistake in an HTML example code snippet.
Caught by Kurt Arnlund! git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@163286 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--docs/ObjectiveCLiterals.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/ObjectiveCLiterals.html b/docs/ObjectiveCLiterals.html
index 11751a6acd..d5a8a9eca0 100644
--- a/docs/ObjectiveCLiterals.html
+++ b/docs/ObjectiveCLiterals.html
@@ -178,7 +178,7 @@ A C string literal prefixed by the <code>'@'</code> token denotes an <code>NSStr
<pre>
// Partition command line arguments into positional and option arguments.
NSMutableArray *args = [NSMutableArray new];
-NSMutableDictionary *options = [NSMutableArray new];
+NSMutableDictionary *options = [NSMutableDictionary new];
while (--argc) {
const char *arg = *++argv;
if (strncmp(arg, "--", 2) == 0) {