From: Robert Griesemer Date: Fri, 17 Sep 2010 01:21:01 +0000 (-0700) Subject: fix various comments X-Git-Tag: weekly.2010-09-22~49 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=7534d40f6401817093711cc8d1f227abdaed5dd0;p=gostls13.git fix various comments (os package comments were duplicates) R=rsc CC=golang-dev https://golang.org/cl/2205042 --- 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 “ +// appearance is improved where it makes sense (e.g., `` is turned into “ // and '' into ”). 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 (