encoding/protobuf: remove extra space in comment

Change-Id: Ia325389e474003fc20917aea45cfef4a268b4b96
Reviewed-on: https://cue-review.googlesource.com/c/cue/+/2940
Reviewed-by: Marcel van Lohuizen <mpvl@golang.org>
diff --git a/encoding/protobuf/util.go b/encoding/protobuf/util.go
index 38521ab..53b3b43 100644
--- a/encoding/protobuf/util.go
+++ b/encoding/protobuf/util.go
@@ -66,7 +66,8 @@
 		cg.Position = 10
 	}
 	for _, s := range c.Lines {
-		cg.List = append(cg.List, &ast.Comment{Text: "// " + s})
+		s = strings.TrimRight(s, " ")
+		cg.List = append(cg.List, &ast.Comment{Text: "//" + s})
 	}
 	return cg
 }