fixed code snippet in documentation: added missing closing brackets.