Skip to content

Commit ce24c8d

Browse files
authored
Upcoming Features Blog Post: avoid smart quotes in code samples (#345)
Code samples shouldn't have smart quotes in them. Not only this breaks syntax highlighting, but won't build when pasted into actual source code.
1 parent c86d5fe commit ce24c8d

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

_posts/2023-05-30-using-upcoming-feature-flags.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -126,9 +126,9 @@ For a Swift package, enable upcoming features for a target in its `SwiftSetting`
126126
.target(name: "MyTarget",
127127
dependencies:[.fancyLibrary],
128128
swiftSettings:
129-
[.enableUpcomingFeature(ConciseMagicFile),
130-
.enableUpcomingFeature(BareSlashRegexLiterals),
131-
.enableUpcomingFeature(ExistentialAny)])
129+
[.enableUpcomingFeature("ConciseMagicFile"),
130+
.enableUpcomingFeature("BareSlashRegexLiterals"),
131+
.enableUpcomingFeature("ExistentialAny")])
132132
```
133133
You will also need to update the tools version specified in the manifest to 5.8 or later:
134134
```swift

0 commit comments

Comments
 (0)