mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
11 lines
240 B
Swift
11 lines
240 B
Swift
/// This is SomeFunc that serves some function
|
|
/// - returns: 42
|
|
public func SomeFunc() -> Int { return 42; }
|
|
public struct XWrapper {
|
|
/// This is x, a property of XWrapper
|
|
public let x: Int
|
|
public init(x: Int) {
|
|
self.x = x
|
|
}
|
|
}
|