diff options
Diffstat (limited to 'examples/swift/BarLib/mul.swift')
-rw-r--r-- | examples/swift/BarLib/mul.swift | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/swift/BarLib/mul.swift b/examples/swift/BarLib/mul.swift index 64d66cdbea..898c0b6877 100644 --- a/examples/swift/BarLib/mul.swift +++ b/examples/swift/BarLib/mul.swift @@ -2,7 +2,7 @@ public class Multiplier { public init() {} - public func multiply(_ a: Int, _ b: Int) -> Int { - return a * b + public func multiply(a first: Int, b second: Int) -> Int { + return first * second } } |