File tree Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change 9
9
// See https://swift.org/CONTRIBUTORS.txt for the list of Swift project authors
10
10
//
11
11
//===----------------------------------------------------------------------===//
12
- /// Describes which mode the driver is in, which dictates
12
+
13
+ /// Describes which mode the driver is in.
13
14
public enum DriverKind {
14
15
case interactive
15
16
case batch
Original file line number Diff line number Diff line change @@ -130,8 +130,8 @@ extension Option {
130
130
}
131
131
132
132
extension Option {
133
- /// Whether this option is accepted by the
134
- public func isAcceptedBy ( _ driverKind: DriverKind ) -> Bool {
133
+ /// Whether this option is accepted by a driver of the given kind.
134
+ public func isAccepted ( by driverKind: DriverKind ) -> Bool {
135
135
switch driverKind {
136
136
case . autolinkExtract:
137
137
return attributes. contains ( . autolinkExtract)
You can’t perform that action at this time.
0 commit comments