Skip to content

Fix redundant access-level modifiers. #1746

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Aug 16, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Sources/Basic/CollectionAlgorithms.swift
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ extension BidirectionalCollection where Iterator.Element : Comparable {
}
}

public extension Sequence where Iterator.Element: Hashable {
extension Sequence where Iterator.Element: Hashable {

/// Finds duplicates in given sequence of Hashables.
/// - Returns: duplicated elements in the invoking sequence.
Expand Down
2 changes: 1 addition & 1 deletion Sources/Basic/StringConversions.swift
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ private func inShellWhitelist(_ codeUnit: UInt8) -> Bool {
}
}

public extension String {
extension String {

/// Creates a shell escaped string. If the string does not need escaping, returns the original string.
/// Otherwise escapes using single quotes. For example:
Expand Down
2 changes: 1 addition & 1 deletion Sources/Commands/Destination.swift
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ public struct Destination {
#endif
}

public extension Destination {
extension Destination {

/// Load a Destination description from a JSON representation from disk.
public init(fromFile path: AbsolutePath, fileSystem: FileSystem = localFileSystem) throws {
Expand Down
2 changes: 1 addition & 1 deletion Sources/Workspace/ToolsVersionWriter.swift
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ public func writeToolsVersion(at path: AbsolutePath, version: ToolsVersion, fs:
try fs.writeFileContents(file, bytes: stream.bytes)
}

public extension ToolsVersion {
extension ToolsVersion {

/// Returns the tools version with zeroed patch number.
public var zeroedPatch: ToolsVersion {
Expand Down