Fix syntax error in docs code example