Skip to content

Commit 6f9389e

Browse files
committed
[Documentation] Add package name in sample code
Unnamed packages are not allowed anymore.
1 parent e7aa948 commit 6f9389e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Documentation/Reference.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ That the manifest is Swift allows for powerful customization, for example:
113113
```swift
114114
import PackageDescription
115115

116-
var package = Package()
116+
var package = Package(name: "Example")
117117

118118
#if os(Linux)
119119
let target = Target(name: "LinuxSources/foo")

0 commit comments

Comments
 (0)