Explorar o código

Fix typo. NFC.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@240888 91177308-0d34-0410-b5e6-96231b3b80d8
Alex Denisov %!s(int64=10) %!d(string=hai) anos
pai
achega
633d4d2bed
Modificáronse 1 ficheiros con 2 adicións e 2 borrados
  1. 2 2
      docs/ObjectiveCLiterals.rst

+ 2 - 2
docs/ObjectiveCLiterals.rst

@@ -136,8 +136,8 @@ and some C structures (via NSValue) are supported:
     NSString *path = @(getenv("PATH"));       // [NSString stringWithUTF8String:(getenv("PATH"))]
     NSArray *pathComponents = [path componentsSeparatedByString:@":"];
 
-    // NS structs
-    NSValue *center = @(view.center);         // Point p = view.point;
+    // structs.
+    NSValue *center = @(view.center);         // Point p = view.center;
                                               // [NSValue valueWithBytes:&p objCType:@encode(Point)];
     NSValue *frame = @(view.frame);           // Rect r = view.frame;
                                               // [NSValue valueWithBytes:&r objCType:@encode(Rect)];