Typo fixes.

R=rsc
CC=go-dev
http://go/go-review/1026014
This commit is contained in:
David Symonds 2009-11-06 18:43:57 -08:00 committed by Russ Cox
parent f74beebb2f
commit 6ea866c04b
6 changed files with 6 additions and 6 deletions

View file

@ -442,7 +442,7 @@ func parseTagAndLength(bytes []byte, initOffset int) (ret tagAndLength, offset i
// //
// (This is used in order to remove ambiguity with optional elements.) // (This is used in order to remove ambiguity with optional elements.)
// //
// You can layer EXPLICIT and IMPLICIT tags to an arbitary depth, however we // You can layer EXPLICIT and IMPLICIT tags to an arbitrary depth, however we
// don't support that here. We support a single layer of EXPLICIT or IMPLICIT // don't support that here. We support a single layer of EXPLICIT or IMPLICIT
// tagging with tag strings on the fields of a structure. // tagging with tag strings on the fields of a structure.

View file

@ -358,7 +358,7 @@ func (f *inflater) readHuffman() os.Error {
// Decode a single Huffman block from f. // Decode a single Huffman block from f.
// hl and hd are the Huffman states for the lit/length values // hl and hd are the Huffman states for the lit/length values
// and the distance values, respectively. If hd == nil, using the // and the distance values, respectively. If hd == nil, using the
// fixed distance encoding assocated with fixed Huffman blocks. // fixed distance encoding associated with fixed Huffman blocks.
func (f *inflater) decodeBlock(hl, hd *huffmanDecoder) os.Error { func (f *inflater) decodeBlock(hl, hd *huffmanDecoder) os.Error {
for { for {
v, err := f.huffSym(hl); v, err := f.huffSym(hl);

View file

@ -9,7 +9,7 @@ import (
"runtime"; "runtime";
) )
// An aborter aborts the thread's current compututation, usually // An aborter aborts the thread's current computation, usually
// passing the error to a waiting thread. // passing the error to a waiting thread.
type aborter interface { type aborter interface {
Abort(err os.Error); Abort(err os.Error);

View file

@ -482,7 +482,7 @@ func (p *Process) Event() Event { return p.event }
// but it's still weird if an event happens after the Cont and before // but it's still weird if an event happens after the Cont and before
// the WaitStop that the handlers say to continue from. Or we could // the WaitStop that the handlers say to continue from. Or we could
// handle them on a separate thread. Then obviously you get weird // handle them on a separate thread. Then obviously you get weird
// asynchrony things, like prints while the user it typing a command, // asynchronous things, like prints while the user it typing a command,
// but that's not necessarily a bad thing. // but that's not necessarily a bad thing.
// ContWait resumes process execution and waits for an event to occur // ContWait resumes process execution and waits for an event to occur

View file

@ -147,7 +147,7 @@ func (l *Logger) Output(calldepth int, s string) {
// Logf is analogous to Printf() for a Logger. // Logf is analogous to Printf() for a Logger.
func (l *Logger) Logf(format string, v ...) { l.Output(2, fmt.Sprintf(format, v)) } func (l *Logger) Logf(format string, v ...) { l.Output(2, fmt.Sprintf(format, v)) }
// Log is analogouts to Print() for a Logger. // Log is analogous to Print() for a Logger.
func (l *Logger) Log(v ...) { l.Output(2, fmt.Sprintln(v)) } func (l *Logger) Log(v ...) { l.Output(2, fmt.Sprintln(v)) }
// Stdout is a helper function for easy logging to stdout. It is analogous to Print(). // Stdout is a helper function for easy logging to stdout. It is analogous to Print().

View file

@ -168,7 +168,7 @@ type serverType struct {
// For example, rpc.Register() calls server.add(). // For example, rpc.Register() calls server.add().
var server = &serverType{serviceMap: make(map[string]*service)} var server = &serverType{serviceMap: make(map[string]*service)}
// Is this a publicly vislble - upper case - name? // Is this a publicly visible - upper case - name?
func isPublic(name string) bool { func isPublic(name string) bool {
rune, _ := utf8.DecodeRuneInString(name); rune, _ := utf8.DecodeRuneInString(name);
return unicode.IsUpper(rune); return unicode.IsUpper(rune);