diff options
Diffstat (limited to 'go.html.markdown')
-rw-r--r-- | go.html.markdown | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/go.html.markdown b/go.html.markdown index 17f10bd9..9b9758b4 100644 --- a/go.html.markdown +++ b/go.html.markdown @@ -179,6 +179,8 @@ func learnFlowControl() { // Cases don't "fall through". case 43: // Unreached. + default: + // Default case is optional. } // Like if, for doesn't use parens either. // Variables declared in for and if are local to their scope. |