summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Griesemer <gri@golang.org>2010-09-16 18:21:01 -0700
committerRobert Griesemer <gri@golang.org>2010-09-16 18:21:01 -0700
commitaab975703f6208257a3459adc8e84680b8bde2d8 (patch)
tree46069d859f3cf87bb2da022b254de0782291f492
parent364fdf05e5e395027ba1483246ac65d2b6c74682 (diff)
downloadgo-aab975703f6208257a3459adc8e84680b8bde2d8.tar.gz
fix various comments
(os package comments were duplicates) R=rsc CC=golang-dev http://codereview.appspot.com/2205042
-rw-r--r--src/pkg/go/doc/comment.go2
-rw-r--r--src/pkg/os/file_unix.go2
-rw-r--r--src/pkg/os/file_windows.go2
3 files changed, 1 insertions, 5 deletions
diff --git a/src/pkg/go/doc/comment.go b/src/pkg/go/doc/comment.go
index 583b763ea..e8595a690 100644
--- a/src/pkg/go/doc/comment.go
+++ b/src/pkg/go/doc/comment.go
@@ -194,7 +194,7 @@ var (
// into a link). Go identifiers that appear in the words map are italicized; if
// the corresponding map value is not the empty string, it is considered a URL
// and the word is converted into a link. If nice is set, the remaining text's
-// appearance is improved where is makes sense (e.g., `` is turned into &ldquo;
+// appearance is improved where it makes sense (e.g., `` is turned into &ldquo;
// and '' into &rdquo;).
func emphasize(w io.Writer, line []byte, words map[string]string, nice bool) {
for {
diff --git a/src/pkg/os/file_unix.go b/src/pkg/os/file_unix.go
index 9bd75bce0..df5894459 100644
--- a/src/pkg/os/file_unix.go
+++ b/src/pkg/os/file_unix.go
@@ -2,8 +2,6 @@
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
-// The os package provides a platform-independent interface to operating
-// system functionality. The design is Unix-like.
package os
import (
diff --git a/src/pkg/os/file_windows.go b/src/pkg/os/file_windows.go
index e26c138c3..658e9c8dd 100644
--- a/src/pkg/os/file_windows.go
+++ b/src/pkg/os/file_windows.go
@@ -2,8 +2,6 @@
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
-// The os package provides a platform-independent interface to operating
-// system functionality. The design is Unix-like.
package os
import (