Skip to content

Commit

Permalink
Update go-basics.tex
Browse files Browse the repository at this point in the history
修改语义上的错误
  • Loading branch information
onion7878 committed Nov 17, 2014
1 parent daf4d93 commit add8a7e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion go-basics.tex
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,7 @@ \section{变量、类型和关键字}
\begin{lstlisting}
_, b := 34, 35
\end{lstlisting}
Go 的编译器对声明却\emph{未使用}的变量在报错。下面的代码会产生这个错误:
Go 的编译器对声明却\emph{未使用}的变量会报错。下面的代码会产生这个错误:
\error{声明了~i 却未使用}

\begin{lstlisting}
Expand Down

0 comments on commit add8a7e

Please sign in to comment.