Skip to content

Commit

Permalink
fix comment String method
Browse files Browse the repository at this point in the history
  • Loading branch information
sean-callahan committed May 8, 2016
1 parent ca28bdd commit ad94647
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions comment.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,6 @@ package nginxconf
type Comment string

// String returns comment with a hash `#` prefix.
func (c *Comment) String() string {
return "#" + string(*c)
func (c Comment) String() string {
return "#" + string(c)
}

0 comments on commit ad94647

Please sign in to comment.