Skip to content

Commit 23a2c61

Browse files
authored
Merge pull request #1253 from MaxDesiatov/patch-8
Fix error message syntax in static Linux Swift SDK guide
2 parents 80aa13f + 8a53582 commit 23a2c61

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

documentation/articles/static-linux-getting-started.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -254,7 +254,7 @@ Hello, world!
254254

255255
### What about package dependencies?
256256

257-
Swift packages that make use of Foundation or Swift NIO should just
257+
Swift packages that make use of Foundation or SwiftNIO should just
258258
work. If you try to use a package that uses the C library, however,
259259
you may have a little work to do. Such packages often contain files
260260
with code like the following:
@@ -267,7 +267,7 @@ import Glibc
267267
#elseif os(Windows)
268268
import ucrt
269269
#else
270-
#error(Unknown platform)
270+
#error("Unknown platform")
271271
#endif
272272
```
273273

@@ -294,7 +294,7 @@ import Musl
294294
#elseif os(Windows)
295295
import ucrt
296296
#else
297-
#error(Unknown platform)
297+
#error("Unknown platform")
298298
#endif
299299
```
300300

0 commit comments

Comments
 (0)