Skip to content

Commit 16f3387

Browse files
authored
Merge pull request swiftlang#36280 from apple/egorzhdan-patch-1
Docs: fix example in C++ interop manifesto
2 parents 8267744 + 211ad11 commit 16f3387

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/CppInteroperabilityManifesto.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2842,7 +2842,7 @@ public:
28422842
// C++ header imported in Swift.
28432843
28442844
struct MyCxxContainer {
2845-
public subscript(_ i: Int) { get set }
2845+
public subscript(_ i: Int) -> Double { get set }
28462846
}
28472847
```
28482848

0 commit comments

Comments
 (0)