mirror of
https://github.com/golang/go
synced 2024-11-22 04:14:42 -07:00
fix various comments
(os package comments were duplicates) R=rsc CC=golang-dev https://golang.org/cl/2205042
This commit is contained in:
parent
d348971103
commit
7534d40f64
@ -194,7 +194,7 @@ var (
|
|||||||
// into a link). Go identifiers that appear in the words map are italicized; if
|
// 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
|
// 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
|
// 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 ”).
|
// and '' into ”).
|
||||||
func emphasize(w io.Writer, line []byte, words map[string]string, nice bool) {
|
func emphasize(w io.Writer, line []byte, words map[string]string, nice bool) {
|
||||||
for {
|
for {
|
||||||
|
@ -2,8 +2,6 @@
|
|||||||
// Use of this source code is governed by a BSD-style
|
// Use of this source code is governed by a BSD-style
|
||||||
// license that can be found in the LICENSE file.
|
// 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
|
package os
|
||||||
|
|
||||||
import (
|
import (
|
||||||
|
@ -2,8 +2,6 @@
|
|||||||
// Use of this source code is governed by a BSD-style
|
// Use of this source code is governed by a BSD-style
|
||||||
// license that can be found in the LICENSE file.
|
// 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
|
package os
|
||||||
|
|
||||||
import (
|
import (
|
||||||
|
Loading…
Reference in New Issue
Block a user