diff --git a/comment.go b/comment.go index 7f01410..8562322 100644 --- a/comment.go +++ b/comment.go @@ -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) }