aboutsummaryrefslogtreecommitdiff
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
commit7534d40f6401817093711cc8d1f227abdaed5dd0 (patch)
tree51c84801f6238e38e07c7cc03463d8e36ed7f3fb
parentd348971103faad00599698de72214c8ce30feab3 (diff)
downloadgo-7534d40f6401817093711cc8d1f227abdaed5dd0.tar.gz
go-7534d40f6401817093711cc8d1f227abdaed5dd0.zip
fix various comments
(os package comments were duplicates) R=rsc CC=golang-dev https://golang.org/cl/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 583b763eaf..e8595a690b 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 9bd75bce01..df5894459e 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 e26c138c38..658e9c8ddf 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 (