Skip to content

Commit

Permalink
Fix SafeWriter comment
Browse files Browse the repository at this point in the history
  • Loading branch information
annismckenzie committed Aug 14, 2016
1 parent fdefbdb commit e127705
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions default.go
Original file line number Diff line number Diff line change
Expand Up @@ -95,8 +95,8 @@ func unsafePrinter(w io.Writer, b []byte) {
w.Write(b)
}

// SafeWriter escapee func, func implementing this type will write direct in the writer skipping the escape
// faze, use this type to create special types of escapee funcs
// SafeWriter escapee func. Functions implementing this type will write directly into the writer,
// skipping the escape phase; use this type to create special types of escapee funcs.
type SafeWriter func(io.Writer, []byte)

func newMap(values ...interface{}) (nmap map[string]interface{}) {
Expand Down

0 comments on commit e127705

Please sign in to comment.