diff options
author | Mark Green <mark@antelope.nildram.co.uk> | 2016-01-22 00:54:49 +0000 |
---|---|---|
committer | Mark Green <mark@antelope.nildram.co.uk> | 2016-01-22 00:54:49 +0000 |
commit | 57053bc95d4166a42da8f6d1732dd21a217b073a (patch) | |
tree | 293a7775d4b46313a2ee955691141095653d4044 /swift.html.markdown | |
parent | def04721be506f1c7ff5ddf407f2333999570a89 (diff) | |
parent | 9a5bb286686f5dd4fb743c1bd15ad70a3c6a4a3f (diff) |
Merge remote-tracking branch 'refs/remotes/adambard/master'
Diffstat (limited to 'swift.html.markdown')
-rw-r--r-- | swift.html.markdown | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/swift.html.markdown b/swift.html.markdown index e6bf1621..46768375 100644 --- a/swift.html.markdown +++ b/swift.html.markdown @@ -213,7 +213,7 @@ default: // required (in order to cover all possible input) // Functions are a first-class type, meaning they can be nested // in functions and can be passed around -// Function with Swift header docs (format as reStructedText) +// Function with Swift header docs (format as Swift-modified Markdown syntax) /** A greet operation @@ -221,9 +221,9 @@ A greet operation - A bullet in docs - Another bullet in the docs -:param: name A name -:param: day A day -:returns: A string containing the name and day value. +- Parameter name : A name +- Parameter day : A day +- Returns : A string containing the name and day value. */ func greet(name: String, day: String) -> String { return "Hello \(name), today is \(day)." @@ -392,7 +392,7 @@ testTryStuff() public class Shape { public func getArea() -> Int { - return 0; + return 0 } } |