Skip to content
This repository was archived by the owner on Sep 19, 2024. It is now read-only.

Commit 129e0f4

Browse files
committed
SwiftDoc for Identifier
1 parent 564a4ba commit 129e0f4

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

Library/Core/Identifier.swift

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,14 @@
88

99
import Foundation
1010

11+
/// Base protocol for all identifiers
1112
public protocol Identifier: CustomStringConvertible {
13+
/// Identifier string
1214
var identifier: String { get }
1315
}
1416

1517
extension Identifier {
18+
/// CustomStringConvertible implementation, returns the identifier
1619
public var description: String {
1720
return identifier
1821
}

0 commit comments

Comments
 (0)